Blog Datasheets Home About me Clients My work Services Contact

G2Labs Grzegorz Grzęda

libc - stddef header

June 20, 2023

Definition several implicit types used by the C language in expressions, etc.

1
#include <stddef.h>

Defined types

ptrdiff_t result of pointer substraction. The resulting difference is valid only in respect to two pointers of elements of the same array.

size_t Unsigned integral size. Naturally returned by the sizeof operator.

wchar_t Wide character type.

Macro functions

offsetof Returns member offset of a structure or union type.

Macro definitions

NULL Null pointer


➡️ libc - stdbool header


⬅️ Effective error handling and exception management in C and Python


Go back to Posts.