Get next line is a function that reads a file line by line created for 42
git clone https://github.com/IT-Krivoshey/Get-Next-Line.git
- To compile and generate a static C library named libft.a
cd Get_Next_line/libftmake
- To remove objects:
make clean
- To remove objects and binary file (program):
make fclean
- To re-compile:
make re
- To test the function, compile with main.c.
cd Get_Next_Linegcc main.c get_next_line.c./a.out LICENSE
- Return
1when it read a line - Return
0it finished reading a file - Return
-1if error
This project is licensed under the LGPLv3 License - see the LICENSE file for details.