diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 14:51:45 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 14:51:45 +0200 |
commit | c9e4fb6e2ad07e13cf41d6ce6afad30b04011765 (patch) | |
tree | 74d816c107c959315ae52166dac96fe2fe0c2a5e /src/ft_pwd.c | |
parent | Well well well that wasn't too bad, now remake everything (diff) | |
download | 42-minishell-c9e4fb6e2ad07e13cf41d6ce6afad30b04011765.tar.gz 42-minishell-c9e4fb6e2ad07e13cf41d6ce6afad30b04011765.tar.bz2 42-minishell-c9e4fb6e2ad07e13cf41d6ce6afad30b04011765.tar.xz 42-minishell-c9e4fb6e2ad07e13cf41d6ce6afad30b04011765.tar.zst 42-minishell-c9e4fb6e2ad07e13cf41d6ce6afad30b04011765.zip |
Solid base
Diffstat (limited to '')
-rw-r--r-- | src/ft_pwd.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/ft_pwd.c b/src/ft_pwd.c deleted file mode 100644 index 07e5622..0000000 --- a/src/ft_pwd.c +++ /dev/null @@ -1,26 +0,0 @@ -/* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_pwd.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/11/01 18:47:41 by rbousset #+# ## ## #+# */ -/* Updated: 2019/11/01 18:47:47 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ -/* ************************************************************************** */ - -#include <libft.h> -#include <stddef.h> -#include <unistd.h> - -int -ft_pwd(void) -{ - char *buff; - - buff = NULL; - ft_putendl(getcwd(buff, 1000)); - return (0); -} |