m00nbyt3 / gnl Goto Github PK
View Code? Open in Web Editor NEWA strange version of Get Next Line (from 42Madrid). It reads all the file in the first call to the function. Then it returns the next line found whenever there is a call to the function. It stores the read text in a static variable.