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