stdme os revamped
This commit is contained in:
parent
f29e4ad7ef
commit
2c9a3ee834
11 changed files with 285 additions and 274 deletions
|
|
@ -1,30 +0,0 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* pipe.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* 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 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue