The manual
ginnOS
The reference: libc, the libraries and the kernel
Toggle main menu visibility
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
14
typedef
__PTRDIFF_TYPE__
ptrdiff_t
;
15
typedef
__WCHAR_TYPE__
wchar_t
;
16
17
#define offsetof(type, member) __builtin_offsetof(type, member)
wchar_t
__WCHAR_TYPE__ wchar_t
Definition
stddef.h:15
ptrdiff_t
__PTRDIFF_TYPE__ ptrdiff_t
Definition
stddef.h:14
types.h
basic system types.
src
libc
include
stddef.h
Generated by
1.18.0