builtins
This commit is contained in:
@@ -8,11 +8,15 @@
|
||||
# include <stdbool.h>
|
||||
# include <unistd.h>
|
||||
# include <errno.h>
|
||||
# include <stdlib.h>
|
||||
|
||||
// void echo(char *msg, int flag);
|
||||
void builtin_echo(char *arg);
|
||||
void builtin_echo(char *arg, char **envp);
|
||||
void builtin_exit(char *arg, bool depth);
|
||||
void builtin_pwd(char *arg);
|
||||
void builtin_env(char *str, char **envp);
|
||||
void builtin_unset(char *str, char **envp);
|
||||
|
||||
|
||||
//UTILS
|
||||
int count_char(char *str);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user