Skip to content

fhideous/my_get_next_line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my_get_next_line

Function name: get_next_line

Prototype: int get_next_line(int fd, char **line);

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

Parameters #1. file descriptor for reading #2.The value of what has been read

Return value: 1 - A line has been read; 0 - EOF has been reached; -1 - An error happened

External functs: read, malloc, free

Description Write a function which returns a line read from afile descriptor, without the newline

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages