Skip to content

Creates a string containing the next line of a file

Notifications You must be signed in to change notification settings

t0mmusic/get_next_line

Repository files navigation

get_next_line

Creates a string containing the next line of a file

Purpose

This project will return a string containing a single line of text read from a file referenced by a file descriptor. The amount of text is limited by a variable buffer, and the output must be the same regardless of buffer size. Any data left over by the buffer after a line has been found must be stored using a static variable.

Bonus

The project must now work with multiple file descriptors. Only one static variable may be used.

Detail

A document detailing how this project was made can be found here.

Status

Complete. 125% with bonuses.

About

Creates a string containing the next line of a file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages