Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef GET_NEXT_LINE_H
- # define GET_NEXT_LINE_H
- # include <sys/types.h>
- # include <sys/stat.h>
- # include <fcntl.h>
- # include <string.h>
- # include <unistd.h>
- # include "libft/libft.h"
- # define BUFF_SIZE 32
- typedef struct s_getlist
- {
- int fd;
- char *content;
- ssize_t ret;
- struct s_list *next;
- } t_getlist;
- int get_next_line(const int fd, char **line);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement