libft
Loading...
Searching...
No Matches
get_next_line.c File Reference
#include "get_next_line.h"

Go to the source code of this file.

Functions

char * get_next_line (int fd)
 Gets next line from a file.
 

Function Documentation

◆ get_next_line()

char * get_next_line ( int  fd)

Gets next line from a file.

Everytime the function is called it returns the next line from a file. Works with multiple files.

Parameters
fdFile descriptor
Returns
String or NULL if there is no more lines in the file
Attention
Allocates memory

Definition at line 95 of file get_next_line.c.