HP C/iX Library Reference Manual (30026-90004)
Chapter 4 29
HP C/iX Library Header Descriptions
Referencing Library Header Files
Referencing Library Header Files
To reference the HP C/iX library header files, place the #include preprocessor directive in
your source code. The order of inclusion of the header files is of no significance. The same
header file may be included more than once in the same program without generating
errors.
The syntax for including a HP C/iX library header file is:
#include <
libraryname
.h>
By enclosing
libraryname
in angle brackets, you instruct the HP C/iX preprocessor to look
for that header file in the H group of the SYS account.
For example, if you want to use the fprintf function, which is in the standard I/O library,
your program must specify:
#include stdio.h>
The declaration of fprintf, various types, and variables used by the I/O function, are
found in the stdio.h header file.
Header file identifiers beginning with an underscore (_) are reserved for library use. You
should not create identifiers that begin with an underscore within your own source code.