-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwaste.h
More file actions
30 lines (29 loc) · 855 Bytes
/
waste.h
File metadata and controls
30 lines (29 loc) · 855 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
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <limits.h>
#include <dirent.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/stat.h>
void die();
//void command(char **sting, int back, char *fg);
void command(char *ans);
int isFile(char *name);
void dfs(char *c, int d, int til, int len, char *file);
void print_echo(char **sting);
void print_pwd();
void print_pinfo(char **sting);
void print_ls(char **sting, char *username, char *hostname);
void print_discover(char **sting, char *init_dir, int size);
void print_history(char *sting);
void print_cd(char **sting, char *prev_dir, char *init_dir, char *dir);
void jobs();
void fg(int sub);
void bag(int sub);
void sig(int a, int b);
void sigtstp_handler(int signum);
void sigint_handler(int signum);
void pip_ing(char *ans, int pip);