stddef.h

Commonly used macros and types that are used throughout the Embedded Warrior Library.

The table below lists the facilities that this header file provides.
Table 1. Facilities in stddef.h
Macro Description
NULL Expands to a value that represents the null pointer constant.
offsetof(structure, member) Computes a value of type size_t that is the offset, in bytes, of a member from the base of its structure. If the member is a bit field the result is undefined.
ptrdiff_t A data type that the compiler uses to hold the result of subtracting one pointer's value from another.
size_t The unsigned type returned by the sizeof()operator.
wchar_t A data type that is large enough to hold all character representations in the wide character set.