/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* pipe.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: maiboyer +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/01/04 17:57:29 by maiboyer #+# #+# */ /* Updated: 2024/01/04 17:59:30 by maiboyer ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef PIPE_H # define PIPE_H # include "me/types.h" /// @brief Pipe structure typedef struct s_pipe { int read; int write; } t_pipe; /// @brief Create a pipe /// @param[out] out the created pipe /// @return the error t_error create_pipe(t_pipe *out); #endif /* PIPE_H */