diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-23 20:39:56 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-23 20:39:56 +0200 |
commit | 15587099afed656c597eddec84e342831c00508f (patch) | |
tree | b1799f588fcd8aff27c0320f3057ebf44da24ea1 /src/ft_u_utils.c | |
parent | pwd is bav (diff) | |
download | 42-minishell-15587099afed656c597eddec84e342831c00508f.tar.gz 42-minishell-15587099afed656c597eddec84e342831c00508f.tar.bz2 42-minishell-15587099afed656c597eddec84e342831c00508f.tar.xz 42-minishell-15587099afed656c597eddec84e342831c00508f.tar.zst 42-minishell-15587099afed656c597eddec84e342831c00508f.zip |
On the way
Diffstat (limited to '')
-rw-r--r-- | src/ft_u_utils.c | 18 |
1 files changed, 18 insertions, 0 deletions
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 <libft.h> #include <stdint.h> +#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[]) { |