Dinkum C Library Reference TO ORDER


A C program can call on a large number of functions from the Standard C library. These functions perform essential services such as input and output. They also provide efficient implementations of frequently used operations. Numerous macro and type definitions accompany these functions to help you to make better use of the library. Most of the information about the Standard C library can be found in the descriptions of the standard headers that declare or define library entities for the program.

Table of Contents

<assert.h> · <ctype.h> · <errno.h> · <float.h> · <iso646.h> · <limits.h> · <locale.h> · <math.h> · <setjmp.h> · <signal.h> · <stdarg.h> · <stddef.h> · <stdio.h> · <stdlib.h> · <string.h> · <time.h> · <wchar.h> · <wctype.h>

C Library Overview · Characters · Files and Streams · Formatted Output · Formatted Input


The 18 standard headers are:

<assert.h> -- for enforcing assertions when functions execute
<ctype.h> -- for classifying characters
<errno.h> -- for testing error codes reported by library functions
<float.h> -- for testing floating-point type properties
<iso646.h> -- for programming in ISO 646 variant character sets
<limits.h> -- for testing integer type properties
<locale.h> -- for adapting to different cultural conventions
<math.h> -- for computing common mathematical functions
<setjmp.h> -- for executing nonlocal goto statements
<signal.h> -- for controlling various exceptional conditions
<stdarg.h> -- for accessing a varying number of arguments
<stddef.h> -- for defining several useful types and macros
<stdio.h> -- for performing input and output
<stdlib.h> -- for performing a variety of operations
<string.h> -- for manipulating several kinds of strings
<time.h> -- for converting between various time and date formats
<wchar.h> -- for manipulating wide streams and several kinds of strings
<wctype.h> -- for classifying wide characters

Other information on the Standard C library includes:

C Library Overview -- how to use the library, including what happens at program startup and at program termination
Characters -- how to write character constants and string literals, and how to convert between multibyte characters and wide characters
Files and Streams -- how to read and write data between the program and files
Formatted Output -- how to generate text under control of a format string
Formatted Input -- how to scan and parse text under control of a format string


See also the Index.

Copyright © 1989-1996 by P.J. Plauger and Jim Brodie. All rights reserved.