Skip to content

yrhiba/Get-Next-Line

Repository files navigation

Get-Next-Line

Reading a line from a fd is way too tedious.

Summary: This project is about programming a function that returns a line read from a file descriptor.

Function name get_next_line

Prototype char *get_next_line(int fd);

Turn in files get_next_line.c, get_next_line_utils.c, get_next_line.h

Parameters fd: The file descriptor to read from

Return value Read line: correct behavior NULL: there is nothing else to read, or an error occurred

External functs. read, malloc, free

Description
function that returns a line read from a file descriptor

About

Reading a line from a fd is way too tedious.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages