Function, that reads from file descriptor till the end
This project is part of program in School 21 (Ecole 42).
- GNU GCC
-
Download/Clone this repo
-
Compiling:
gcc -Wall -Werror -Wextra -D BUFFER_SIZE= *.c
Don't forget to include get_next_line.h in your project
The full task can be found here: gnl_subject
- Only using c language is allowed
- Code-style should respect the The Norm
- No memory leaks, segmentation faults, undefined behavior
- Only allowed functions: read, malloc, free
- Manage multiple file descriptors
- Use only a single static variable