diff options
Diffstat (limited to 'c/gbos.h')
| -rw-r--r-- | c/gbos.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15,6 +15,8 @@ unsigned char getpid(void); unsigned char pipe(void); /* -> read fd; write end is read+1 */ void ssend(unsigned char b); /* link-port: transmit one byte */ unsigned char srecv(void); /* link-port: receive one byte (blocks) */ +int srecv_nb(void); /* link-port: receive, or -1 if none */ +unsigned char pollin(void); /* poll OSK for a typed char, or 0 */ /* helpers (c/libc.c) */ void putu(unsigned int n); /* print decimal */ |
