diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-23 19:42:46 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-23 19:42:46 +0200 |
commit | 312bd95df03672f38df123038f719b113ac07ecc (patch) | |
tree | 64fe221fe92c8a677efe2e871e9cd33fe147ae4d /src/ft_e_externs_next.c | |
parent | Parsed bin path in $PATH, now time to execve(2) (diff) | |
download | 42-minishell-312bd95df03672f38df123038f719b113ac07ecc.tar.gz 42-minishell-312bd95df03672f38df123038f719b113ac07ecc.tar.bz2 42-minishell-312bd95df03672f38df123038f719b113ac07ecc.tar.xz 42-minishell-312bd95df03672f38df123038f719b113ac07ecc.tar.zst 42-minishell-312bd95df03672f38df123038f719b113ac07ecc.zip |
execve(2) not quite working
Diffstat (limited to '')
-rw-r--r-- | src/ft_e_externs_next.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ft_e_externs_next.c b/src/ft_e_externs_next.c index 492d7e5..bf1bb38 100644 --- a/src/ft_e_externs_next.c +++ b/src/ft_e_externs_next.c @@ -21,8 +21,8 @@ #include "ft_s_struct.h" static char - *ft_get_fullpath(const char *p_path, - const char *d_name, + *ft_get_fullpath(const char p_path[], + const char d_name[], t_msh *msh) { char *fullpath; @@ -43,8 +43,8 @@ static char } char - *ft_search_in_path(const char *com, - char **envpath, + *ft_search_in_path(const char com[], + char *envpath[], t_msh *msh) { /* TODO: norme */ |