|
|
1.1 root 1: #ifndef _STDDEF_H
2: #define _STDDEF_H
3:
4: /* Signed type of difference of two pointers. */
5:
6: typedef long ptrdiff_t;
7:
8: /* Unsigned type of `sizeof' something. */
9:
10: typedef unsigned long size_t;
11:
12: /* A null pointer constant. */
13:
14: #define NULL ((void *)0)
15:
16: /* Offset of member MEMBER in a struct of type TYPE. */
17:
18: #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
19:
20: #endif /* _STDDEF_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.