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// object sizes and byte counts (unsigned), byte counts or an error (signed),
4// and pointer differences. pointer-width on every target.
5typedef __SIZE_TYPE__ size_t;
6typedef __PTRDIFF_TYPE__ ptrdiff_t;
7typedef __INTPTR_TYPE__ ssize_t;
8
9// byte offset of a member within a struct
10#define offsetof(type, member) __builtin_offsetof(type, member)
11
12#ifndef NULL
13#define NULL ((void *)0)
14#endif
__PTRDIFF_TYPE__ ptrdiff_t
Definition stddef.h:14
__PTRDIFF_TYPE__ ssize_t
Definition types.h:15
__SIZE_TYPE__ size_t
Definition types.h:14