summaryrefslogtreecommitdiffstats
path: root/src/ft_b_pwd.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-23 20:31:21 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-23 20:31:21 +0200
commit9f073fc25c90974b408c75bf9a063538cb3cdefe (patch)
treeac01185f1a4068698f0309481c3786f65e261489 /src/ft_b_pwd.c
parent< redir works (diff)
download42-minishell-9f073fc25c90974b408c75bf9a063538cb3cdefe.tar.gz
42-minishell-9f073fc25c90974b408c75bf9a063538cb3cdefe.tar.bz2
42-minishell-9f073fc25c90974b408c75bf9a063538cb3cdefe.tar.xz
42-minishell-9f073fc25c90974b408c75bf9a063538cb3cdefe.tar.zst
42-minishell-9f073fc25c90974b408c75bf9a063538cb3cdefe.zip
pwd is bav
Diffstat (limited to '')
-rw-r--r--src/ft_b_pwd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ft_b_pwd.c b/src/ft_b_pwd.c
index f06a320..d47600f 100644
--- a/src/ft_b_pwd.c
+++ b/src/ft_b_pwd.c
@@ -10,7 +10,9 @@
/* */
/* ************************************************************************** */
+#include <libft.h>
#include <stdint.h>
+
#include "ft_s_struct.h"
uint8_t
@@ -18,7 +20,6 @@ uint8_t
t_msh *msh)
{
(void)args;
- (void)msh;
- /* TODO: do pwd */
+ ft_printf("%s\n", msh->cwd);
return (0);
}