Wednesday, August 31, 2016

C Library Header – stddef

The <stddef.h> header defines several standard definitions.

The <stddef.h> header shall define the following macro constants:
NULLimplementation-defined null pointer constant

The <stddef.h> header shall define the following function:
offsetofbyte offset from the beginning of a struct type to specified member (function macro)

The <stddef.h> header shall define the following type:
size_tunsigned integer type returned by the sizeof operator
ptrdiff_tsigned integer type returned when subtracting two pointers
max_align_t a type with alignment requirement as great as any other scalar type (C11)



Related topics:
<stdint.h>   |   <stdio.h>   |   <stdlib.h>   |   <stdnoreturn.h>   |   <string.h>   |   Standard Library in C

List of topics: C Programming

No comments:

Post a Comment