pid added
This commit is contained in:
parent
c6e34f8eaf
commit
cc07376040
@ -58,6 +58,7 @@ typedef struct s_command {
|
|||||||
int err_var;
|
int err_var;
|
||||||
struct s_simple *current_s_cmd;
|
struct s_simple *current_s_cmd;
|
||||||
char **path;
|
char **path;
|
||||||
|
int pid;
|
||||||
} t_cmd;
|
} t_cmd;
|
||||||
|
|
||||||
//main.c
|
//main.c
|
||||||
@ -113,6 +114,7 @@ int check_variable(char *variable);
|
|||||||
int cd_error_simple(char *str, int i);
|
int cd_error_simple(char *str, int i);
|
||||||
int msg_error(char *cmd, char *entry, char *error, int i);
|
int msg_error(char *cmd, char *entry, char *error, int i);
|
||||||
int size_path(char **str);
|
int size_path(char **str);
|
||||||
|
int check_return(t_s_cmd *cmd, int var);
|
||||||
|
|
||||||
//real builtin
|
//real builtin
|
||||||
void print_env(t_cmd *cmd);
|
void print_env(t_cmd *cmd);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user