📄 types.h
字号:
#ifndef _SYS_TYPES_H#define _SYS_TYPES_H#ifndef _SIZE_T#define _SIZE_Ttypedef unsigned int size_t;#endif#ifndef _TIME_T#define _TIME_Ttypedef long time_t;#endif#ifndef _PTRDIFF_T#define _PTRDIFF_Ttypedef long ptrdiff_t;#endif#ifndef NULL#define NULL ((void *) 0)#endiftypedef int pid_t;typedef unsigned short uid_t;typedef unsigned short gid_t;typedef unsigned short dev_t;typedef unsigned short ino_t;typedef unsigned short mode_t;typedef unsigned short umode_t;typedef unsigned char nlink_t;typedef int daddr_t;typedef long off_t;typedef unsigned char u_char;typedef unsigned short ushort;typedef unsigned char cc_t;typedef unsigned int speed_t;typedef unsigned long tcflag_t;typedef unsigned long fd_set;typedef struct { int quot,rem; } div_t;typedef struct { long quot,rem; } ldiv_t;struct ustat { daddr_t f_tfree; ino_t f_tinode; char f_fname[6]; char f_fpack[6];};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -