Thursday, June 16, 2011

Standard C Library With EXAMPLE CODES

This lecture note provides a summary of the standard C library.
External identifiers that begin with underscores are reserved for use by the library.
Standard headers covered here are:

<errno.h>
error codes reported by library functions
<assert.h>
diagnostics
<stdarg.h>
variable argument lists
<stdio.h>
input and output
<ctype.h>
character class tests
<string.h>
string functions
<stdlib.h>
utility functions
<math.h>
mathematical functions
<time.h>
time and date functions
<setjmp.h>
non-local jumps
<signal.h>
signals
<limits.h>
implementation-defined integral type limits
<float.h>
implementation-defined floating-point limits

The following standard headers are omitted here:

<stddef.h>
definitions of general use
<locale.h>
locale-specific information
<wchar.h>
wide strings and streams
<wctype.h>
wide character class tests
<iso646.h>
ISO 646 variant character sets

No comments: