Information that is needed by several different files or functions is collected into a header file. A header file contains C-language definitions and structures. Centralizing information into a header file facilitates the creation and update of programs. Because #include statements are used to insert header files into a C-language program, header files are often referred to as include files.
Header files define the following functions:
By convention, the names of header files end with .h (dot h). The .h suffix is used by header files that are provided with the operating system; however, the suffix is not required for user-generated header files.
Note: Several of the header files provided with the operating system end with .inc (include file).
Additional header files are provided with the operating system. Most of these can be found in either the /usr/include directory or the /usr/include/sys directory. Use the pg command to view the contents of a header file.
More information about the
following header files is provided in this documentation:
|Defines the structure of the standard a.out file.
|Describes the format of the records in the system accounting files.
|Describes the format of an archive file.
|Defines values used by the auditing system as well as the structure of a bin.
|Describes the structures created as a result of a core dump.
|Describes the format of a file system-independent directory entry.
|Defines ioctl operations and data types for handling EUC code sets.
|Defines values for the fcntl and open subroutines.
|Contains the format of a file system logical volume.
|Defines the file control options.
|Describes the data structure returned by the fullstat and ffullstat subroutines.
|Defines types, macros, and subroutines for character code set conversion.
|Defines structures used by the subroutines that perform interprocess communications operations.
|Defines implementation limits identified by the IEEE POSIX 1003 standard.
|Defines math subroutines and constants
|Defines the interpretation of a file mode.
|Defines structures used by the subroutines that perform message queueing operations.
|Defines certain hardware-dependent parameters.
|Defines the pollfd structure used by the poll subroutine.
|Defines the structures that are used by subroutines that perform semaphore operations.
|Defines structures used by the Berkeley terminal interface.
|Defines structures used by the subroutines that perform shared memory operations.
|Defines external interfaces provided by the System Resource Controller (SRC) subroutines.
|Defines structures used by the System Resource Controller (SRC) subsystem.
|Describes the data structure returned by the status subroutines.
|Describes the structure of the statistics returned by the status subroutines.
|Describes the structure of the statistics that are returned by the statvfs subroutines and fsatvfs subroutines.
|Defines the _system_configuration structure.
|Defines flags used in the tar archive header.
|Defines structures used by the terminal interface for compatibility of Version 2 of the operating system.
|Defines structures used by the POSIX terminal interface.
|Defines the structure of the termiox file, which provides the extended terminal interface.
|Defines primitive system data types.
|Defines POSIX implementation characteristics.
|Defines the format of certain user and accounting information files.
|Defines hardware-dependent values.
|Describes the structure of a mounted file system.
|Contains the structures used by the X.25 application programming interface.
|Defines HCON fxter function constants for Pascal language file transfers.
|Defines HCON fxc and fxs data structures for C language file transfers.
|Contains HCON fxc and fxs records for Pascal language file transfers.
|Contains HCON external declarations for Pascal language file transfers.
|Contains HCON API symbol definitions and data structures for the C language.
|Defines HCON API constants for the Pascal language.
|Contains HCON API external definitions for the Pascal language.
|Enables HCON API in Mode_3270 for C language subroutines.
|Contains common HCON API key value definitions for the Pascal language.
|Defines HCON API data types for the Pascal language.
The pg command.
File Formats Overview defines and describes file formats in general and lists file formats discussed in this documentation.
Special Files Overview defines and describes special files in general and lists special files discussed in this documentation.