builtins cd, pwd (todo, refactoring cd)

This commit is contained in:
LuckyLaszlo
2021-12-05 01:01:27 +01:00
parent 27c00a78a0
commit c3a9035622
5 changed files with 78 additions and 14 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/08 02:59:58 by lperrey #+# #+# */
/* Updated: 2021/12/04 15:46:00 by lperrey ### ########.fr */
/* Updated: 2021/12/04 19:09:42 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -72,6 +72,7 @@ typedef void (*t_free_f)(void *); // generic
// Error wrappers
void shell_error(char *s1, char *s2);
void shell_perror(char *s1, char *s2, char *s3);
// Generic
char *ft_strjoinfree(char *s1, char *s2);