Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #ifndef GET_NEXT_LINE_H
  2. # define GET_NEXT_LINE_H
  3. # include <sys/types.h>
  4. # include <sys/stat.h>
  5. # include <fcntl.h>
  6. # include <string.h>
  7. # include <unistd.h>
  8. # include "libft/libft.h"
  9.  
  10. # define BUFF_SIZE 32
  11.  
  12. typedef struct s_getlist
  13. {
  14. int fd;
  15. char *content;
  16. ssize_t ret;
  17. struct s_list *next;
  18. } t_getlist;
  19.  
  20. int get_next_line(const int fd, char **line);
  21.  
  22. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement