Initial revision

This commit is contained in:
ceriel
1987-01-05 17:31:38 +00:00
parent eb28fd80f9
commit b63bf2720c
18 changed files with 1193 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#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();
}
}