-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconsts.h
25 lines (23 loc) · 867 Bytes
/
consts.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*Universidade Federal do Rio de Janeiro
Departamento de Engenharia Eletrôncia e de Computação
Sistemas Operacionais - 2018.2
Aluna: Fabiana Ferreira Fonseca
DRE: 115037241*/
/*TRABALHO: IMPLEMENTAÇÃO DE UM SHELL PARA LINUX COM MULTIPLAS TELAS*/
#define EOS "\0"
#define BUFFER 100
#define DELIMITER " "
#define CLEAR_COMMAND "clear\n"
#define SCREEN_COMMAND "screen"
#define EXIT_COMMAND "exit\n"
#define MAN_COMMAND "man fabits\n"
#define MONITOR_COMMAND "monitor\n"
#define PATH "/bin/"
#define CYAN_COLOR "\033[1;36m"
#define GREEN_COLOR "\033[1;32m"
#define RED_COLOR "\033[1;31m"
#define MAGENTA_COLOR "\033[1;35m"
#define RESET_COLOR "\033[0m"
#define FIFO_PATH "./.files/"
#define STATUS_CPU_PATH "/proc/stat"
#define STATUS_RAM_PATH "/proc/self/status"