Skip to content

Because read a line on a fd is way too tedious. Project from 42 São Paulo

Notifications You must be signed in to change notification settings

vitoriagalli/get_next_line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get Next Line

Reading a line on a fd is way too tedious

The aim of this project is to make you code a function that returns a line ending with a newline, read from a file descriptor

For learning purposes only. There are other ways of doing this by using standard C functions. But, at the end of this project, you will acquire knowledge about static variables, dynamic memory allocation, file manipulation and so on.

Usage

You can compile the files with your main, for example:

    gcc -Wall -Wextra -Werror get_next_line.c get_next_line_utils.c main.c

About

Because read a line on a fd is way too tedious. Project from 42 São Paulo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages