90s/include/constants.h

17 lines
597 B
C
Raw Normal View History

2024-01-31 02:02:32 +01:00
#ifndef CONSTANTS_H_
#define CONSTANTS_H_
2024-07-01 18:40:47 +02:00
#define HISTFILE ".90s_history" // history file name
2024-01-31 02:02:32 +01:00
#define TOK_BUFSIZE 64 // buffer size of each token
#define RL_BUFSIZE 1024 // size of each command
2024-01-31 02:02:32 +01:00
#define TOK_DELIM " \t\r\n\a" // delimiter for token
#define MAX_HISTORY 8192 // maximum lines of reading history
#define MAX_JOBS 64 // maximum number of jobs
#define OPT_STDIN 0x01 // option for stdin
#define OPT_STDOUT 0x02 // option for stdout
#define OPT_STDERR 0x04 // option for stderr
#define OPT_FGJ 0x08 // option for foreground job
#define OPT_BGJ 0x10 // option for background job
2024-01-31 02:02:32 +01:00
#endif