Logo Search packages:      
Sourcecode: agedu version File versions  Download package

fgetline.h

/*
 * fgetline.h: Utility function to read a complete line of text
 * from a file, allocating memory for it as large as necessary.
 */

/*
 * Read an entire line of text from a file. Return a dynamically
 * allocated buffer containing the complete line including
 * trailing newline.
 *
 * On error, returns NULL.
 */
char *fgetline(FILE *fp);

Generated by  Doxygen 1.6.0   Back to index