Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 700 Bytes

File metadata and controls

9 lines (6 loc) · 700 Bytes

get_next_line

description

The aim of this 42 project is to code a function that reads from a file descriptor and returns the next line, without the newline character. The bonus part of this project involves reading from multiple file descriptors without losing the reading thread.

The code relating to the bonus part is almost identical to the code from the mandatory part, the only exception being that the buffer string storing the characters read is two-dimensional in the bonus code (for storing characters read from multiple fd's) and one-dimensional in the standard code.

test materials

I uploaded some test materials to this repo as well. It's NOT a tester. It does have colourrrrr