Name
ap_bcreate — create a buffered stream
Synopsis
BUFF *ap_bcreate(pool *p, int flags)
Creates a new buffered stream in p
. The stream is
not associated with any file or socket at this point.
flags
are a combination of one of the following:
-
B_RD
Reading is buffered.
-
B_WR
Writing is buffered.
-
B_RDWR
Reading and writing are buffered.
-
B_SOCKET
(optional) The stream will be buffering a socket. Note that this flag also enables ASCII/EBCDIC translation on platforms that use EBCDIC (see
ap_bsetflag()
).
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.