libft
Loading...
Searching...
No Matches
get_next_line.h
Go to the documentation of this file.
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* get_next_line.h :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: tspoof <tspoof@student.hive.fi> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2022/11/10 00:04:38 by tspoof #+# #+# */
9/* Updated: 2022/12/17 01:28:02 by tspoof ### ########.fr */
10/* */
11/* ************************************************************************** */
12
13#ifndef GET_NEXT_LINE_H
14# define GET_NEXT_LINE_H
15
16# include <unistd.h>
17# include <stdlib.h>
18# include "libft.h"
19
20# ifndef BUFFER_SIZE
21# define BUFFER_SIZE 1024
22# endif
23
33char *get_next_line(int fd);
34
35#endif
char * get_next_line(int fd)
Gets next line from a file.