From 0d3dac97491e8c6e1f5455a43803591817fdbf72 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 30 Sep 2020 20:30:51 +0200 Subject: Normed e_pipes --- src/e_pipes_next.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/e_pipes_next.h (limited to 'src/e_pipes_next.h') diff --git a/src/e_pipes_next.h b/src/e_pipes_next.h new file mode 100644 index 0000000..fe042d6 --- /dev/null +++ b/src/e_pipes_next.h @@ -0,0 +1,25 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* e_pipes_next.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + +#ifndef FT_E_PIPES_NEXT_H +# define FT_E_PIPES_NEXT_H + +# include +# include + +# include "s_struct.h" + +void e_pipe_child(char *fullpath[], uint8_t pipe_id, t_com *ptr, t_msh *msh); +size_t e_get_pipes_count(struct s_lpipes *ptr); +void e_close_unused_fds(int32_t fd[256][2], size_t pipes); + +#endif -- cgit v1.2.3