-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtools.h
More file actions
42 lines (26 loc) · 734 Bytes
/
Copy pathtools.h
File metadata and controls
42 lines (26 loc) · 734 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
37
38
39
40
41
42
#ifndef TOOLS_H_
#define TOOLS_H_
#include "prompt.h"
#include "command.h"
#include "pastevents.h"
char *initializeGlobalHome();
void warp(Command *cmd);
void executeCommand(char *command, int isBackground);
void proclore(Command *cmd);
void peek(Command *cmd);
void printWyshArt();
void seek(Command *cmd);
void trim(char *str);
int pipeCommand(char *command);
int ioPipe(char *cmd);
void ioRedirection(char *command);
void iMan(Command *cmd);
void printActivities();
void handleFgBgCommand(Command *cmd);
//pid_t deleteLatestProcess();
void copyProcessInfoToLatest(pid_t pid);
int processExists(int pid);
void updateProcessState(int pid, const char *state);
void freeProcessList();
void neonate(Command *cmd);
#endif