This commit is contained in:
Loic Deridder
2025-01-15 13:41:40 +01:00
parent eedfe4a0ee
commit 0ec78ee34c
11 changed files with 182 additions and 48 deletions

View File

@@ -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