From 15587099afed656c597eddec84e342831c00508f Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 23 Apr 2020 20:39:56 +0200 Subject: On the way --- src/ft_u_utils.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/ft_u_utils.c') diff --git a/src/ft_u_utils.c b/src/ft_u_utils.c index f5df2f4..8c61bf9 100644 --- a/src/ft_u_utils.c +++ b/src/ft_u_utils.c @@ -10,8 +10,26 @@ /* */ /* ************************************************************************** */ +#include #include +#include "ft_s_struct.h" + +char + *ft_get_home_dir(t_msh *msh) +{ + char **ptr; + + ptr = msh->envp; + while (*ptr) + { + if (ft_strncmp( , , )) + { + } + ptr++; + } +} + uint64_t ft_get_argc(const char *args[]) { -- cgit v1.2.3