MPD 0.17~git
|
#include <glib.h>
#include <stdio.h>
Go to the source code of this file.
Functions | |
char * | read_text_line (FILE *file, GString *buffer) |
Reads a line from the input file, and strips trailing space. |
char* read_text_line | ( | FILE * | file, |
GString * | buffer | ||
) |
Reads a line from the input file, and strips trailing space.
There is a reasonable maximum line length, only to prevent denial of service.
file | the source file, opened in text mode |
buffer | an allocator for the buffer |