man getline () - read the next line in a file.

NAME

getline - read the next line in a file.

LIBRARIES

Abz Library (-labz), Debug Library (-ldebug)

SYNOPSIS

#include <abz/getline.h>

char *getline(int fd");

DESCRIPTION

The getline() function returns the next line in a file. Lines in the file should be seperated with newline ('\n') characters and there may not be any nil ('\0') characters in the file.

RETURN VALUE

The getline() function returns the next line in the file or NULL if EOF or an error occurred.

Check errno to see what error occurred.

NOTES

None of the libabz routines are thread-safe. I'm not planning to change this either! For more information, please see http://threading.2038bug.com/

AUTHOR

Written by Abraham vd Merwe <abz@blio.com>