-
Notifications
You must be signed in to change notification settings - Fork 0
/
headers.h
70 lines (69 loc) · 1.4 KB
/
headers.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#ifndef HEADERS_H_
#define HEADERS_H_
#define clear() printf("\033[H\033[J")
#include <stdio.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <dirent.h>
#include <errno.h>
#include <stdlib.h>
#include "prompt.h"
#include "time.h"
#include "ping.h"
#include "systemprocess.h"
#include "warp.h"
#include "signal.h"
#include "peek.h"
#include "trim.h"
#include "fg.h"
#include "bg.h"
#include "seek.h"
#include "pastevents.h"
#include "unistd.h"
#include "neonate.h"
#include "function_decider.h"
#include "activities.h"
#include "proclore.h"
#include "prompt.h"
#include "fcntl.h"
#include "iman.h"
#include "sys/stat.h"
#include "sys/types.h"
#include "sys/prctl.h"
extern char *currentworkingdir;
extern char *prevworkingdir;
extern char *homeworkingdir;
extern char *com;
extern int check;
extern int tim;
extern int f_check, d_check;
extern char *to_change;
extern int foregroundProcessPid;
struct ProcessInfo
{
pid_t pid;
int status;
char **name;
int sz;
struct ProcessInfo *next;
};
extern int past;
struct ProcessInfo *removeProcess(struct ProcessInfo *head, pid_t pid);
typedef struct Node
{
pid_t pid;
int status;
char process_name[100];
struct Node *next;
} Node;
typedef struct myname
{
char process_name[100];
struct myname *next;
} myname;
extern char *command_pid[100000 + 1];
extern char *s;
extern Node *completedList;
#endif