xref: /DragonOS/kernel/src/common/stddef.h (revision 978043e47d1143ca2d5cf22b20793f032e8eb5a5)
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