vfurmane / get_next_line

School Project: Reading a line on a fd is way too tedious

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get_next_line

This is my 2nd project at @42Paris.

⏲️ : 4 days ✔️ : 115 🤖 : 1

Usage

This project is a function. You need to compile your project with these dependencies (with or without _bonus, they are the same files).

Here is the function prototype:

int	get_next_line(int fd, char **line);

You also need to specify a BUFFER_SIZE during compilation:

clang -D BUFFER_SIZE=XX get_next_line.c get_next_line_utils.c

About

School Project: Reading a line on a fd is way too tedious


Languages

Language:C 100.0%