123456789101112131415161718192021 |
- #ifndef _STDDEF_H
- #define _STDDEF_H
- /* Signed type of difference of two pointers. */
- typedef int ptrdiff_t;
- /* Unsigned type of `sizeof' something. */
- typedef unsigned int size_t;
- /* A null pointer constant. */
- #define NULL ((void *)0)
- /* Offset of member MEMBER in a struct of type TYPE. */
- #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
- #endif /* _STDDEF_H */
|