aboutsummaryrefslogtreecommitdiffstats
path: root/c/gbos.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/gbos.h')
-rw-r--r--c/gbos.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/c/gbos.h b/c/gbos.h
index d207a75..df52fbe 100644
--- a/c/gbos.h
+++ b/c/gbos.h
@@ -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 */