-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheaderFiles.h
More file actions
36 lines (33 loc) · 762 Bytes
/
headerFiles.h
File metadata and controls
36 lines (33 loc) · 762 Bytes
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
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include <limits.h>
#include <unistd.h>
#include <errno.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <dirent.h>
#include <pwd.h>
#include <grp.h>
#include <time.h>
#define buff_size 1000000
extern int numproc;
extern int idx;
extern pid_t currfg;
extern int pidarr[10000];
extern int pidctr[10000];
extern char pidcmd[10000][100];
extern char s[10000];
extern char s_save[10000];
extern char inputstring[10000];
extern char homedir[10000];
extern char currdir[10000];
extern char prevdir[10000];
extern char* name;
extern int stx;
extern int h[10];
extern int fl_a,fl_l,fl_dir,ctdir;
extern struct stat fileStat;
void truncatedir(char * name);