From 079d839aee68e52932eacbd8d4c75ba1388b006a Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Tue, 29 Oct 2019 13:22:04 +0100 Subject: tons of changes --- src/ft_pwd.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/ft_pwd.c (limited to 'src/ft_pwd.c') diff --git a/src/ft_pwd.c b/src/ft_pwd.c new file mode 100644 index 0000000..24394fe --- /dev/null +++ b/src/ft_pwd.c @@ -0,0 +1,13 @@ +#include +#include +#include + +int +ft_pwd(void) +{ + char *buff; + + buff = NULL; + ft_putstr(getcwd(buff, 1000)); + return (0); +} -- cgit v1.2.3