diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-06-19 17:53:10 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-06-19 17:53:10 +0200 |
| commit | 13cf7ba8ba259c4c68c32021d4b96f7bf8de0687 (patch) | |
| tree | f7ce499868a1f95945a992ef70931dea1eaf195a /include | |
| parent | 6bedda03a7f4f3c6ea190c506800f3aa1a3ac833 (diff) | |
| download | libft-13cf7ba8ba259c4c68c32021d4b96f7bf8de0687.tar.gz libft-13cf7ba8ba259c4c68c32021d4b96f7bf8de0687.tar.bz2 libft-13cf7ba8ba259c4c68c32021d4b96f7bf8de0687.zip | |
Changing name from ft_next_line to ft_getline
Diffstat (limited to 'include')
| -rw-r--r-- | include/libft_io.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/libft_io.h b/include/libft_io.h index 418b230..1294abc 100644 --- a/include/libft_io.h +++ b/include/libft_io.h @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/01/31 10:35:43 by cacharle #+# #+# */ -/* Updated: 2020/02/28 12:09:11 by cacharle ### ########.fr */ +/* Updated: 2020/06/19 17:45:34 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -29,18 +29,18 @@ void ft_putnbr_fd(int n, int fd); char ft_getchar(void); -# ifndef FTNL_BUFFER_SIZE -# define FTNL_BUFFER_SIZE 32 +# ifndef FTGL_BUFFER_SIZE +# define FTGL_BUFFER_SIZE 32 # endif -# define FTNL_STATUS_LINE 1 -# define FTNL_STATUS_EOF 0 -# define FTNL_STATUS_ERROR -1 +# define FTGL_OK 1 +# define FTGL_EOF 0 +# define FTGL_ERROR -1 /* -** get_next_line.c +** ft_getline.c (get_next_line) */ -int ft_next_line(int fd, char **line); +int ft_getline(int fd, char **line); #endif |
