common.h
来自「 Douglas Comer」· C头文件 代码 · 共 30 行
H
30 行
/* common.h - min, max */#ifndef COMMON_H#define COMMON_H#include <arpa/inet.h>#include <fcntl.h>#include <linux/soundcard.h>#include <math.h>#include <netinet/in.h>#include <pthread.h>#include <semaphore.h>#include <stdlib.h>#include <strings.h>#include <sys/ioctl.h>#include <sys/socket.h>#include <sys/time.h>#include <sys/types.h>#include <time.h>#include <unistd.h>typedef char bool;#define TRUE 1#define FALSE 0#define OK 0#define ERROR -1#define min(a, b) (a < b ? a : b)#define max(a, b) (a > b ? a : b)#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?