common.h
来自「linux——shell nachos 的课程设计 第一个」· C头文件 代码 · 共 27 行
H
27 行
/* This file defines the common header files and some macro. */
#if! defined (__COMMON_H_)
#define __COMMON_H_
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <sys/wait.h>
#include <sys/stat.h>
#define MAX_COMMAND_LEN 1024
#define BUFF_SIZE 512
#define INCREMENT_LEN 5
#define JOB_STATUS_FORMAT "[%d] %-22s %.40s\n"
#endif /* __COMMON_H_ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?