From b829c3547001eb2a3cf846410deb15ddd7349b96 Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 19 Apr 2004 23:10:22 +0000 Subject: for no systems. --- src/libmach/nosys.c | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 src/libmach/nosys.c (limited to 'src') diff --git a/src/libmach/nosys.c b/src/libmach/nosys.c new file mode 100644 index 00000000..1407ba72 --- /dev/null +++ b/src/libmach/nosys.c @@ -0,0 +1,59 @@ +/* + * process non-interface + */ + +#include +#include +#include + +void +unmapproc(Map *m) +{ + USED(m); +} + +int +mapproc(int pid, Map *m, Regs **r) +{ + USED(pid); + USED(m); + USED(r); + if(r) + *r = nil; + werrstr("mapproc not implemented"); + return -1; +} + +int +detachproc(int pid) +{ + USED(pid); + werrstr("detachproc not implemented"); + return -1; +} + +int +procnotes(int pid, char ***notes) +{ + USED(pid); + USED(notes); + werrstr("procnotes not implemented"); + return -1; +} + +int +ctlproc(int pid, char *msg) +{ + USED(pid); + USED(msg); + werrstr("ctlproc not implemented'); + return -1; +} + +char* +proctextfile(int pid) +{ + USED(pid); + werrstr("proctextfile not implemented"); + return -1; +} -- cgit v1.2.3