Skip to content

Reproduce a part of the getline function (End of project 02/06/19).

Notifications You must be signed in to change notification settings

Encorpluptit/CPE_getnextline_2018

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPE_getnextline_2018

A very first parsing tool (Reproduce a part of the getline function) (End of project 02/06/19).

Experience in C : 3 months.

The project

Project subject.

The goal of this project is to write a function that returns a read line from a file descriptor.

If there are no more lines to return, or if there is an error during the reading, the function will come back NULL.

Example

GNL Example 1

GNL Example 2

Results:

100.00% functional :

Nao Marvin

100.00% 01 - Static / Buffering (3 tests)

100.00% 02 - Basic READ_SIZE and buffer handling (3 tests)

100.00% 03 - Test with READ_SIZE (5 tests)

100.00% 04 - Special cases (4 tests)

100.00% 05 - Error handling (2 tests)

100.00% 06 - Buffer manipulation (one read) (5 tests)

About

Reproduce a part of the getline function (End of project 02/06/19).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published