Guardian C Library Calls Reference Manual
Summary of Library Header Files
Guardian TNS C Library Calls Reference Manual—128833 2-11
<stdioh>
The signal handlers and signals are described in Section 3, “Reference to Library Calls,”
under the signal function.
<sqlh>
The header sqlh declares the functions dec_to_longlong and longlong_to_dec, which
convert data between representations as a decimal array and as a long long value.
<stdargh>
The header stdargh declares the type va_list and defines the function-like macros va_arg,
va_end, and va_start. Together, these entities enable a function to process a list of
arguments whose types and number are not known at compilation.
<stddefh>
The header stddefh defines the macro offsetof and declares the following types and
macros that are used by several library functions:
•
ptrdiff_t is the signed integral type that results when you subtract two pointers.
•
NULL is the object-like macro representing a null pointer value.
•
size_t is the unsigned integral type that results when you use the sizeof operator.
The offsetof macro is described in Section 3, “Reference to Library Calls.”
<stdioh>
The header stdioh declares one type and several functions and defines several object-like
macros; all of these routines perform ANSI-model I/O.
The functions declared in stdioh are:
clearerr edfseek edftell fclose fcloseall
fdopen feof ferror fflush fgetc
fgetpos fgets fileno fopen
fopen_std_file fprintf fputc fputs
fread freopen fscanf fseek fsetpos
ftell fwrite getc getchar gets
perror printf putc putchar puts
remove rename rewind scanf setbuf
setnbuf setvbuf sprintf sscanf tmpfile
tmpnam ungetc vprintf vfprintf vsprintf
The type declared is FILE, which contains all the information needed to control and
maintain a stream, including such indicators as the file position and the end of the file.