diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 20:31:49 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 20:31:49 +0200 |
commit | 10d6582dbdf76afaf1fbe89fa1c23e59182f0945 (patch) | |
tree | c6b08d4ca28f8fff73e35e5da0c16e1b48d8b72f /src/e_pipes.c | |
parent | Normed e_pipes (diff) | |
download | 42-minishell-10d6582dbdf76afaf1fbe89fa1c23e59182f0945.tar.gz 42-minishell-10d6582dbdf76afaf1fbe89fa1c23e59182f0945.tar.bz2 42-minishell-10d6582dbdf76afaf1fbe89fa1c23e59182f0945.tar.xz 42-minishell-10d6582dbdf76afaf1fbe89fa1c23e59182f0945.tar.zst 42-minishell-10d6582dbdf76afaf1fbe89fa1c23e59182f0945.zip |
Normed e_pipes
Diffstat (limited to '')
-rw-r--r-- | src/e_pipes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/e_pipes.c b/src/e_pipes.c index f9c9f72..be647b9 100644 --- a/src/e_pipes.c +++ b/src/e_pipes.c @@ -87,7 +87,7 @@ static void e_pipe_exec_path(char *fullpath[], msh->ret = WEXITSTATUS(status); } -static char *e_get_current_path(struct s_lpipes *rptr, t_msh *msh) +static char *e_get_current_path(struct s_lpipes *rptr, t_msh *msh) { char tmp[PATH_MAX]; char *path; @@ -115,7 +115,7 @@ static char *e_get_current_path(struct s_lpipes *rptr, t_msh *msh) return (path); } -static char **e_get_fullpath(size_t pipes, t_msh *msh) +static char **e_get_fullpath(size_t pipes, t_msh *msh) { struct s_lpipes *rptr; char **fullpath; @@ -135,7 +135,7 @@ static char **e_get_fullpath(size_t pipes, t_msh *msh) return (fullpath); } -void e_pipes(t_msh *msh) +void e_pipes(t_msh *msh) { const size_t pipes = e_get_pipes_count(msh->pipes); char **fullpath; |