ack/modules/src/object/wr_putc.c
1987-01-05 17:31:38 +00:00

15 lines
176 B
C

#include <stdio.h>
static char buf[BUFSIZ];
extern char *_pbuf;
extern int _ocnt;
wr_putc(ch)
{
_pbuf = buf;
buf[_ocnt++] = ch;
if (_ocnt == BUFSIZ) {
wr_flush();
}
}