Function
Pangoread_line
Declaration [src]
gint
pango_read_line (
FILE* stream,
GString* str
)
Description [src]
Reads an entire line from a file into a buffer.
Lines may be delimited with ‘\n’, ‘\r’, ‘\n\r’, or ‘\r\n’. The delimiter is not written into the buffer. Text after a ‘#’ character is treated as a comment and skipped. ‘' can be used to escape a # character. ‘' proceeding a line delimiter combines adjacent lines. A ‘' proceeding any other character is ignored and written into the output buffer unmodified.
Deprecated since: | 1.38 |
Please do not use it in newly written code. |
Parameters
stream |
FILE* |
A stdio stream. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
str |
GString |
|
|
The data is owned by the caller of the function. |