The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
stddef.h
Go to the documentation of this file.
1#pragma once
2
3#include <sys/types.h>
4
5/**
6 * @file stddef.h
7 * @brief NULL, size_t, ptrdiff_t, offsetof.
8 */
9
10#ifndef NULL
11#define NULL ((void *)0)
12#endif
13
14typedef __PTRDIFF_TYPE__ ptrdiff_t;
15typedef __WCHAR_TYPE__ wchar_t;
16
17#define offsetof(type, member) __builtin_offsetof(type, member)
__WCHAR_TYPE__ wchar_t
Definition stddef.h:15
__PTRDIFF_TYPE__ ptrdiff_t
Definition stddef.h:14
basic system types.