Change the magic number used to introduce a trie file, so that instead
[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);