main
test-branch
| Line | |
|---|
| 1 | /* The stddef.h header defines various variable types and macros.
|
|---|
| 2 | Many of these definitions also appear in other headers. */
|
|---|
| 3 | #ifndef _STDDEF_
|
|---|
| 4 | #define _STDDEF_
|
|---|
| 5 |
|
|---|
| 6 | /* Types */
|
|---|
| 7 | typedef signed long int ptrdiff_t;
|
|---|
| 8 |
|
|---|
| 9 | typedef unsigned long int size_t;
|
|---|
| 10 |
|
|---|
| 11 | typedef struct max_align_t max_align_t;
|
|---|
| 12 |
|
|---|
| 13 | typedef long int wchar_t;
|
|---|
| 14 |
|
|---|
| 15 | /* Macros */
|
|---|
| 16 | #ifndef NULL
|
|---|
| 17 | #define NULL ((void*)0)
|
|---|
| 18 | #endif
|
|---|
| 19 |
|
|---|
| 20 | #define offsetof(st, m) ((size_t) ( (char *)&((st *)(0))->m - (char *)0 ))
|
|---|
| 21 |
|
|---|
| 22 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.