osmosx / get_next_line Goto Github PK
View Code? Open in Web Editor NEW[get_next_line] project school 42. It is a function that reads a file and allows you to read a line ending with a newline character from a file descriptor. When you call the function again on the same file, it grabs the next line.