aboutsummaryrefslogtreecommitdiffstats
path: root/c/gbos.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/gbos.h')
-rw-r--r--c/gbos.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/c/gbos.h b/c/gbos.h
index 3a10e06..cf94128 100644
--- a/c/gbos.h
+++ b/c/gbos.h
@@ -12,4 +12,9 @@ char *getargs(void); /* this program's argument string */
char readc(void); /* one input byte, EOF at end */
void sexit(unsigned char code);
unsigned char getpid(void);
+
+/* helpers (c/libc.c) */
+void putu(unsigned int n); /* print decimal */
+unsigned char atou(const char *s); /* parse decimal */
+unsigned char argv_parse(char **argv, unsigned char maxv); /* argc/argv */
#endif