diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-12 19:50:42 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-12 19:50:42 +0200 |
commit | 9b5512bc4c2ac38669002892b801b05006e66c8b (patch) | |
tree | a772754e36ac9c4242d4cccfc712833d2558f3c7 /src/e_pipes_next.c | |
parent | Norm update (diff) | |
download | 42-minishell-9b5512bc4c2ac38669002892b801b05006e66c8b.tar.gz 42-minishell-9b5512bc4c2ac38669002892b801b05006e66c8b.tar.bz2 42-minishell-9b5512bc4c2ac38669002892b801b05006e66c8b.tar.xz 42-minishell-9b5512bc4c2ac38669002892b801b05006e66c8b.tar.zst 42-minishell-9b5512bc4c2ac38669002892b801b05006e66c8b.zip |
Norm
Diffstat (limited to 'src/e_pipes_next.c')
-rw-r--r-- | src/e_pipes_next.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/e_pipes_next.c b/src/e_pipes_next.c index 291ba62..78feb5a 100644 --- a/src/e_pipes_next.c +++ b/src/e_pipes_next.c @@ -68,7 +68,7 @@ static void e_exec_child(const char fullpath[], t_com *ptr, t_msh *msh) } } -void e_pipe_child(char fullpath[], uint8_t fp_ret, t_com *ptr, t_msh *msh) +void e_pipe_child(char fullpath[], uint8_t fp_ret, t_com *ptr, t_msh *msh) { uint8_t bu_id; uint8_t ret; @@ -93,7 +93,7 @@ void e_pipe_child(char fullpath[], uint8_t fp_ret, t_com *ptr, t_msh *msh) } } -size_t e_get_pipes_count(struct s_lpipes *ptr) +size_t e_get_pipes_count(struct s_lpipes *ptr) { struct s_lpipes *rptr; size_t pipes; @@ -108,7 +108,7 @@ size_t e_get_pipes_count(struct s_lpipes *ptr) return (pipes); } -void e_close_unused_fds(int32_t fd[256][2], size_t pipes) +void e_close_unused_fds(int32_t fd[256][2], size_t pipes) { size_t i; |