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