📄 stdtypes.h
字号:
/* @(#)stdtypes.h 1.6 90/01/04 SMI *//* * Suppose you have an ANSI C or POSIX thingy that needs a typedef * for thingy_t. Put it here and include this file wherever you * define the thingy. This is used so that we don't have size_t in * N (N > 1) different places and so that we don't have to have * types.h included all the time and so that we can include this in * the lint libs instead of termios.h which conflicts with ioctl.h. */#ifndef __sys_stdtypes_h#define __sys_stdtypes_h#ifndef _SIGSET_T_#define _SIGSET_T_typedef int sigset_t; /* signal mask - may change */#endif#ifndef _SPEED_T_#define _SPEED_T_typedef unsigned int speed_t; /* tty speeds */#endif#ifndef _TCFLAG_T_#define _TCFLAG_T_typedef unsigned long tcflag_t; /* tty line disc modes */#endif#ifndef _CC_T_#define _CC_T_typedef unsigned char cc_t; /* tty control char */#endif#ifndef _PID_T_#define _PID_T_typedef int pid_t; /* process id */#endif#ifndef _MODE_T_#define _MODE_T_typedef unsigned short mode_t; /* file mode bits */#endif#ifndef _NLINK_T_#define _NLINK_T_typedef short nlink_t; /* links to a file */#endif#ifndef _CLOCK_T_#define _CLOCK_T_typedef long clock_t; /* units=ticks (typically 60/sec) */#endif#ifndef _TIME_T_#define _TIME_T_typedef long time_t; /* value = secs since epoch */#endif#ifndef _SIZE_T_#define _SIZE_T_typedef int size_t; /* ??? */#endif#ifndef _PTRDIFF_T_#define _PTRDIFF_T_typedef int ptrdiff_t; /* result of subtracting two pointers */#endif#ifndef _WCHAR_T_#define _WCHAR_T_typedef unsigned short wchar_t; /* big enough for biggest char set */#endif#endif /* !__sys_stdtypes_h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -