From 312bd95df03672f38df123038f719b113ac07ecc Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 23 Apr 2020 19:42:46 +0200 Subject: execve(2) not quite working --- src/ft_e_externs_next.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ft_e_externs_next.c') 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 */ -- cgit v1.2.3