Name
ap_cfg_ getline — read a line from a configuration, stripping whitespace
Synopsis
int ap_cfg_ getline(char *s, int n, configfile_t *cfp)
Reads a line (up to n
characters) from
cfp
into s
, stripping leading
and trailing whitespace and converting internal whitespace to single
spaces. Continuation lines (indicated by a backslash immediately
before the newline) are concatenated. Returns 0
normally; 1
if EOF has been reached.
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.