-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathshell.h
More file actions
30 lines (29 loc) · 670 Bytes
/
shell.h
File metadata and controls
30 lines (29 loc) · 670 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
#ifndef SHELL_H
#define SHELL_H
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "strings.h"
#include "alias.h"
#include "builtins.h"
#include "inputs.h"
#include "helpers.h"
#include "history.h"
#include "file_mode.h"
extern char **environ;
void sigint_handler(int sig);
char *logical_and(char *);
char *logical_or(char *);
char **parse_command(char *, char *);
char *get_full_path(char *);
char *find_path(char *, char *, char **);
int execute(char **, char **);
void exec_builtin(int, char **);
#endif