tatikor_143
asked on
Can anyone help me to explain me the following code snippets.
Can anyone help me to explain me the following code snippets.I am bit confused
1) # 35 "/usr/include/iso/stdio_is o.h" 2 3
2) # 1 "/usr/include/sys/va_list. h" 1 3
3) #define _SYS_VA_LIST_H
*4) #pragma ident "@(#)va_list.h 1.12 99/05/04 SMI"
1) # 35 "/usr/include/iso/stdio_is
2) # 1 "/usr/include/sys/va_list.
3) #define _SYS_VA_LIST_H
*4) #pragma ident "@(#)va_list.h 1.12 99/05/04 SMI"
ASKER
Can u please explain me the above lines with a small example.
Also, What exactly the 4th point says?What it is trying to do?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
#line # 35 "/usr/include/iso/stdio_is
are typically inerted int generated or preprocessed C code to set the presumed line number and source file.
This can be useful so that error messages or macros that use __FILE__ or __LINE can tell you where the original code that genrerated the error came from
#define _SYS_VA_LIST_H
defines a preprocessor macro named _SYS_VA_LIST_H
pragmas cause the impementation to behave in an implementation-defined manner