Definition:
#ifndef CHARSET_EBCDIC
#define ap_bputc(c, fb) ((((fb)->flags & (B_EOUT|B_WRERR|B_WR)) != B_WR || \
(fb)->outcnt == (fb)->bufsiz) ? ap_bflsbuf(c, (fb)) : \
((fb)->outbase[(fb)->outcnt++] = (c), 0))
#else
#define ap_bputc(c, fb) ((((fb)->flags & (B_EOUT|B_WRERR|B_WR)) != B_WR || \
(fb)->outcnt == (fb)->bufsiz) ? ap_bflsbuf(c, (fb)) : \
((fb)->outbase[(fb)->outcnt++] = (fb->flags & B_EBCDIC2ASCII) \
? os_toascii[(unsigned char)c] : (c), 0))
#endif
Usage example:
if (ap_bputc(c, r->connection->client) < 0) {
/* Do something */
}
No documentation available.
Previous: ap_bpushh
Next: ap_bputs
Table of Contents
(Routines,
Structures,
Data Cells,
Constants)