Name
ap_psprintf — format a string
Synopsis
char *ap_psprintf(pool *p, const char *fmt, ...)
Much the same as the standard function sprintf()
except that no buffer is supplied; instead, the new string is
allocated in p
. This makes this function
completely immune from buffer overflow. Also see
ap_vformatter()
.
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.