aboutsummaryrefslogtreecommitdiffstats
path: root/c/gbos.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/gbos.h')
-rw-r--r--c/gbos.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c/gbos.h b/c/gbos.h
index fa926fd..5f22a5a 100644
--- a/c/gbos.h
+++ b/c/gbos.h
@@ -38,4 +38,7 @@ unsigned char wait(void);
void setin(unsigned char fd); /* redirect stdin ($FF=console) */
void setout(unsigned char fd); /* redirect stdout ($FF=console) */
unsigned char lookup(const char *name); /* command name -> program id */
+unsigned char kill(unsigned char pid); /* terminate a pid (1 is immortal)*/
+unsigned char psget(unsigned char slot, unsigned char *buf); /* {pid,state,prog}*/
+void progname(unsigned char id, char *buf); /* id -> name */
#endif