Skip to content

Latest commit

 

History

History

gnl

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

get\_next\_line (gnl) - A Function to Read a File Line by Line

Subject: get_next_line.en.pdf

The goal of this project was to write a function that will read a single line from a file descriptor. This is the equivalent of getline(3).

Setup

Build:

make -C libft
gcc -I libft/includes get_next_line.c -c -o get_next_line.o

Usage

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