Make the existing -d (depth) option apply to the -H (static HTML
[sgt/agedu] / fgetline.h
1 /*
2 * fgetline.h: Utility function to read a complete line of text
3 * from a file, allocating memory for it as large as necessary.
4 */
5
6 /*
7 * Read an entire line of text from a file. Return a dynamically
8 * allocated buffer containing the complete line including
9 * trailing newline.
10 *
11 * On error, returns NULL.
12 */
13 char *fgetline(FILE *fp);