General Utilities

These all involve the use of the header , which declares a number of types and macros and several functions of general use. The types and macros are as follows:

size_t

Described at the start of this chapter.

div_t

This is the type of the structure returned by div.

ldiv_t

This is the type of the structure returned by ldiv.

NULL

Again, described at the start of this chapter.

EXIT_FAILURE

EXIT_SUCCESS

These may be used as arguments to exit.

MB_CUR_MAX

The maximum number of bytes in a multibyte character from the extended character set specified by the current locale.

RAND_MAX

This is the maximum value returned by the rand function.


See also