Overview

The <stddef.h> header defines a few standard typedefs:

  • ptrdiff_t: the signed integer type of the result of subtracting two pointers.
  • size_t: the unsigned integer type of the result of the sizeof operator.

The standard often uses typedefs ending with _t.

Bibliography