📄 types.h
字号:
/* The <sys/types.h> header contains important data type definitions. * It is considered good programming practice to use these definitions, * instead of the underlying base type. By convention, all type names end * with _t. * * $Id: types.h,v 1.4 2003/10/19 21:36:35 dom Exp $ */#ifndef __SYS_TYPES_H__#define __SYS_TYPES_H__#ifndef _SIZE_T#define _SIZE_Ttypedef unsigned int size_t;#endif#ifndef _SSIZE_T#define _SSIZE_Ttypedef signed int ssize_t;#endif#ifndef _CLOCK_T#define _CLOCK_Ttypedef unsigned long clock_t;#endif#ifndef _PID_T#define _PID_Ttypedef signed int pid_t;#endif#ifndef _BOOL_T#define _BOOT_Ttypedef unsigned char bool_t;#endif#ifndef _TIME_T#define _TIME_Ttypedef long time_t;#endif#ifndef _WILD_T#define _WILD_Ttypedef short wild_t;#endif#ifndef _FPOS_T#define _FPOS_Ttypedef unsigned long fpos_t;#endiftypedef unsigned char u8_t; /* 8 bit type */typedef unsigned short u16_t; /* 16 bit type */typedef unsigned long u32_t; /* 32 bit type */typedef char i8_t; /* 8 bit signed type */typedef short i16_t; /* 16 bit signed type */typedef long i32_t; /* 32 bit signed type *//* this makes converting MINIX sources a little bit easier */#ifndef _PROTOTYPE#define _PROTOTYPE(x,y) x y#endif#endif /* _TYPES_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -