-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinternal.h
25 lines (24 loc) · 901 Bytes
/
internal.h
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
#ifndef INTERNAL_H_
#define INTERNAL_H_
#include "prase.h"
// built_in functions
int Internal_bg(CMD command, int fd[2]);
int Internal_cd(CMD command, int fd[2]);
int Internal_clr(CMD command, int fd[2]);
int Internal_dir(CMD command, int fd[2]);
int Internal_echo(CMD command, int fd[2]);
int Internal_exec(CMD command, int fd[2]);
int Internal_exit(CMD command, int fd[2]);
int Internal_environ(CMD command, int fd[2]);
int Internal_fg(CMD command, int fd[2]);
int Internal_help(CMD command, int fd[2]);
int Internal_jobs(CMD command, int fd[2]);
int Internal_pwd(CMD command, int fd[2]);
int Internal_quit(CMD command, int fd[2]);
int Internal_set(CMD command, int fd[2]);
int Internal_shift(CMD command, int fd[2]);
int Internal_test(CMD command, int fd[2]);
int Internal_time(CMD command, int fd[2]);
int Internal_umask(CMD command, int fd[2]);
int Internal_unset(CMD command, int fd[2]);
#endif