diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_pwd.c | 13 |
1 files changed, 13 insertions, 0 deletions
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 <libft.h> +#include <stddef.h> +#include <unistd.h> + +int +ft_pwd(void) +{ + char *buff; + + buff = NULL; + ft_putstr(getcwd(buff, 1000)); + return (0); +} |