xref: /DragonOS/kernel/src/common/stddef.h (revision 36fd013004ee0bd5fc7cfb452ba22531a83a859c)
1 #pragma once
2 
3 #include "./sys/types.h"
4 
5 #define NULL 0
6 
7 typedef __PTRDIFF_TYPE__ ptrdiff_t; // Signed integer type of the result of subtracting two pointers.
8 
9 #ifndef __always_inline
10 #define __always_inline __inline__
11 #endif