(https://github.com/42Paris/minilibx-linux/actions/workflows/ci.yml/badge.svg)

Get next line

Function that reads a file and prints one line at a time.

Functions

read
malloc
free

General Info

File Descriptor
Static Variables
O_RDONLY

Compilation

make to compile
make clean to remove objects
make fclean to remove objects and binary files

Implementation

gcc main.c src/get_next_line.c
./a.out test/text.txt