From 566d54fe549286895fdef8aa9f385686405dd290 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Wed, 13 Oct 2021 16:46:20 -0700 Subject: RM(rc): old code. too many assumptions baked in --- sys/cmd/rc/io.h | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 sys/cmd/rc/io.h (limited to 'sys/cmd/rc/io.h') diff --git a/sys/cmd/rc/io.h b/sys/cmd/rc/io.h deleted file mode 100644 index 5457735..0000000 --- a/sys/cmd/rc/io.h +++ /dev/null @@ -1,31 +0,0 @@ -#define EOF (-1) -#define NBUF 512 - -struct Io -{ - int fd; - char *bufp, *ebuf, *strp, buf[NBUF]; -}; - -extern struct Io *err; - -Io *openfd(int); -Io *openstr(void); -Io *opencore(char *, int); - -int emptybuf(Io*); -void pchr(Io*, int); -int rchr(Io*); -void closeio(Io*); -void flush(Io*); -int fullbuf(Io*, int); -void pdec(Io*, int); -void poct(Io*, unsigned); -void pptr(Io*, void*); -void pquo(Io*, char*); -void pwrd(Io*, char*); -void pstr(Io*, char*); -void pcmd(Io*, Tree*); -void pval(Io*, Word*); -void pfnc(Io*, Thread*); -void pfmt(Io*, char*, ...); -- cgit v1.2.1