summaryrefslogtreecommitdiffstats
path: root/src/e_pipes_next.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 20:30:51 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 20:30:51 +0200
commit0d3dac97491e8c6e1f5455a43803591817fdbf72 (patch)
tree5c6adf1c3dfcc6a359aba7ab90915315356eda88 /src/e_pipes_next.h
parentPipes restructuration in progress (diff)
download42-minishell-0d3dac97491e8c6e1f5455a43803591817fdbf72.tar.gz
42-minishell-0d3dac97491e8c6e1f5455a43803591817fdbf72.tar.bz2
42-minishell-0d3dac97491e8c6e1f5455a43803591817fdbf72.tar.xz
42-minishell-0d3dac97491e8c6e1f5455a43803591817fdbf72.tar.zst
42-minishell-0d3dac97491e8c6e1f5455a43803591817fdbf72.zip
Normed e_pipes
Diffstat (limited to '')
-rw-r--r--src/e_pipes_next.h25
1 files changed, 25 insertions, 0 deletions
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 <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* 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 <stddef.h>
+# include <stdint.h>
+
+# 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