NetcanOS
Netcan OS is an operation system for x86 PCs, for learning how os works.
stddef.h
浏览该文件的文档.
1 /*************************************************************************
2  > File Name: libc/stddef.h
3  > Author: Netcan
4  > Blog: http://www.netcan666.com
5  > Mail: 1469709759@qq.com
6  > Created Time: 2018-07-08 Sun 14:09:28 CST
7  ************************************************************************/
8 
9 #ifndef STDDEF_H
10 #define STDDEF_H
11 typedef unsigned int u32;
12 typedef signed int s32;
13 typedef unsigned short u16;
14 typedef signed short s16;
15 typedef unsigned char u8;
16 typedef signed char s8;
17 
18 typedef unsigned int size_t;
19 typedef int ptrdiff_t;
20 #define NULL (0)
21 #endif
22 
unsigned int size_t
Definition: stddef.h:18
signed char s8
Definition: stddef.h:16
unsigned int u32
Definition: stddef.h:11
signed short s16
Definition: stddef.h:14
unsigned short u16
Definition: stddef.h:13
int ptrdiff_t
Definition: stddef.h:19
signed int s32
Definition: stddef.h:12
unsigned char u8
Definition: stddef.h:15