The following types are included in stdlib.h
:
The following macros are included in stdlib.h
:
A type that holds a quotient and remainder of a signed integer division
with operands of type int
.
Prototype
typedef struct { int quot, rem; } div_t;
Remarks
This is the structure type returned by the function,
div
.
A type that holds a quotient and remainder of a signed integer division
with operands of type long
.
Prototype
typedef struct { long quot, rem; } ldiv_t;
Remarks
This is the structure type returned by the function,
ldiv
.
A type that holds a wide character value. In stdlib.h
and stddef.h
.
Reports unsuccessful termination.
Remarks
EXIT_FAILURE
is a value for the exit function to return
an unsuccessful termination status.
Example
See exit
for example of use.
Reports successful termination.
Remarks
EXIT_SUCCESS
is a value for the exit function to return
a successful termination status.
Example
See exit
for example of use.
Maximum number of characters in a multibyte character.
Value
1
Maximum value capable of being returned by the rand function.
Value
32767