Name
ap_bread — read from a stream
Synopsis
int ap_bread(BUFF *fb, void *buf, int nbyte)
Reads up to nbyte
bytes into
buf
. Returns the number of bytes read,
0
on end of file (EOF), or -1
for an error. Only reads the data currently available.
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.