types.h
来自「s1mp3 sdk, action mp3 develop tool kit!」· C头文件 代码 · 共 71 行
H
71 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?