Common Definitions <stddef.h>

Top  Previous  Next

This header contains definitions of the following types and macros.

 


NULL

the null pointer constant


offsetof

the byte offset of a structure member from the start of the structure


ptrdiff_t

the type of the result of subtracting one pointer from another


size_t

the type of the result of sizeof and offsetof.


wchar_t

the type of a wide character: see multibyte characters and strings.

 

NULL and offsetof are discussed further in the list of functions.