The aim of this project is to make you code a function that returns a line, read from a file descriptor.
This project will not only allow you to add a very convenient function to your collection, but it will also allow you to learn a highly interesting new concept in C programming: static variables
char *get_next_line(int fd);
get_next_line.c
- read the file descriptor.get_next_line_utils.c
- complementary functions for GNL. (functions were made in the first project - libft)get_next_line_bonus.c
- read file descriptors.get_next_line_utils_bonus.c
- complementary functions for GNL. (functions were made in the first project - libft)
ft_strdup
- creates a duplicate for the string passed as a parameter.ft_strjoin
- concatenates two strings.ft_strlcpy
- copy string to a specific size.ft_strlen
- calculate the length of a string.ft_strchr
- locate character in a string.
get_next_line_bonus makes it possible to manage multiple file descriptors.