/ft-get-next-line

Function Which Returns a Line Read From a File Descriptor

Primary LanguageC

Get Next Line

Function which returns a line read from a file descriptor.

  • get_next_line.c (char *get_next_line(int fd)) Calling get_next_line in a loop will allow you to read the text available on the file descriptor one line at a time until the end of it.