-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheaders.h
More file actions
55 lines (45 loc) · 1.1 KB
/
Copy pathheaders.h
File metadata and controls
55 lines (45 loc) · 1.1 KB
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
#ifndef HEADERS_H_
#define HEADERS_H_
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <time.h>
#include <math.h>
#include "command.h"
#include "prompt.h"
#include "warp.h"
#include "proclore.h"
#include "peek.h"
#include "fg.h"
#include "bg.h"
#include "pastevents.h"
#include "seek.h"
#include "activities.h"
#include "iman.h"
#include "fgbg.h"
#include "signals.h"
#include "neonate.h"
#define ERROR_COLOR "\e[0;31m"
#define DEFAULT_COLOR "\x1b[0m"
extern int bgi; // index of current background process
struct backproc
{
/* data */
int id;
char comm[4096];
};
extern struct backproc *bgs; // list of background processes
extern char *pastfile;
extern int nope; // number of past events
// extern FILE *pef; // past events file
// extern int pesi; // past events start index
// extern int peei; // past events end index
extern int currfgid; // current foreground process id
extern char *currfgcom; // current foreground process command
extern char *prev; // previous directory
extern int pflag;
extern char *pcom;
extern int zflag;
#endif