All library functions are declared in a header file. To make the contents of a header file available to your program, include the header file with an #include preprocessor directive. For example:
#include <stddef.h>
Each header file declares a set of related functions, as well as defining any types and macros needed for their use.
The standard headers are:
Diagnostics: <assert.h> ( Section 9.1)
Character processing: <ctype.h> ( Section 9.2)
Error codes: <errno.h> ( Section 9.3)
ANSI C limits: <limits.h> and <float.h> ( Section 9.4)
Localization: <locale.h> ( Section 9.5)
Mathematics: <math.h> ( Section 9.6)
Nonlocal jumps: <setjmp.h> ( Section 9.7)
Signal handling: <signal.h> ( Section 9.8)
Variable arguments: <stdarg.h> ( Section 9.9)
Common definitions: <stddef.h> ( Section 9.10)
Input/output: <stdio.h> ( Section 9.11)
General utilities: <stdlib.h> ( Section 9.12)
String processing: <string.h> ( Section 9.13)
Date and time: <time.h> ( Section 9.14)
Header files can be included in any order. Each can be included more than once in a given scope with no effect different from being included once. However, the effect of including <assert.h> depends on the definition of NDEBUG. Include headers outside of any external declaration or definition, and before any reference to the functions, types, or macros declared or defined in the headers. If an identifier is declared or defined in more than one included header, the second and subsequent headers containing that identifier can be included after the initial reference to that identifier.
For more deatils visit:
http://h30097.www3.hp. com/docs/base_doc/DOCUMENTATIO N/V50_HTML/ARH9NATE/DOCU_020.H TM
Answered by Shilpa Behl
at
5:08 PM on March 27, 2008