Solved

Can anyone help me to explain me the following code snippets.

Posted on 2006-11-13
3
212 Views
Last Modified: 2010-04-15
Can anyone help me to explain me the following code snippets.I am bit confused

1) # 35 "/usr/include/iso/stdio_iso.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"
0
Comment
Question by:tatikor_143
3 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 17935139
preprocessor directives like
#line # 35 "/usr/include/iso/stdio_iso.h"
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
0
 

Author Comment

by:tatikor_143
ID: 17935840

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?



0
 
LVL 8

Accepted Solution

by:
deepu chandran earned 500 total points
ID: 17936952
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question