22 lines
1.1 KiB
C
22 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* open.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/11/03 15:29:38 by maiboyer #+# #+# */
|
|
/* Updated: 2024/01/05 16:43:37 by maiboyer ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef OPEN_H
|
|
# define OPEN_H
|
|
|
|
# include "me/types.h"
|
|
|
|
t_error me_open(t_const_str path, bool read, bool write, int *file_out);
|
|
t_error me_open_truncate(t_const_str path, int *file_out);
|
|
t_error me_open_create(t_const_str path, int *file_out);
|
|
|
|
#endif
|