diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2021-10-13 16:46:20 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2021-10-13 16:46:20 -0700 |
commit | 566d54fe549286895fdef8aa9f385686405dd290 (patch) | |
tree | 184607f21a2e59f8896a0505fa5597a6976c76ab /sys/cmd/rc/io.h | |
parent | f2efbb46ef89c7c1693400f7209113c50c959f02 (diff) |
RM(rc): old code. too many assumptions baked in
Diffstat (limited to 'sys/cmd/rc/io.h')
-rw-r--r-- | sys/cmd/rc/io.h | 31 |
1 files changed, 0 insertions, 31 deletions
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*, ...); |