โญ๏ธ The goal of this subject was to code a program which reads content line by line.
- You can change the file to read from the main :
fd = open("name_of_your_file", O_RDONLY);
- Then, run :
gcc -Wall -Wextra -Werror -D BUFFER_SIZE=32 get_next_line.c get_next_line_utils.c main.c
./a.out
โ If there is another line to read, the program displays 1- the line, if it is the last line 0- the line