let's test this
added ft_open, ft_close and ft_gets functions not tested modified ft_getline with read 1 by 1
This commit is contained in:
12
libft.h
12
libft.h
@@ -6,7 +6,7 @@
|
||||
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2018/04/08 00:12:36 by tmaze #+# #+# */
|
||||
/* Updated: 2019/03/07 15:38:26 by tmaze ### ########.fr */
|
||||
/* Updated: 2019/03/08 13:27:16 by tmaze ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -62,6 +62,16 @@ typedef struct s_list
|
||||
|
||||
# define BUFF_SIZE 30
|
||||
|
||||
/*
|
||||
** definition type t_file
|
||||
*/
|
||||
|
||||
typedef struct s_file
|
||||
{
|
||||
int fd;
|
||||
char buff[BUFF_SIZE + 1];
|
||||
} t_file;
|
||||
|
||||
enum e_size
|
||||
{
|
||||
h,
|
||||
|
Reference in New Issue
Block a user