diff options
author | rsc <devnull@localhost> | 2004-04-19 23:10:22 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-19 23:10:22 +0000 |
commit | b829c3547001eb2a3cf846410deb15ddd7349b96 (patch) | |
tree | 32e1523804f97fb09afb2105e21608a2495aea6f | |
parent | 1b135a78054e05cd62dfa1a2606f93e3486f2b57 (diff) | |
download | plan9port-b829c3547001eb2a3cf846410deb15ddd7349b96.tar.gz plan9port-b829c3547001eb2a3cf846410deb15ddd7349b96.tar.bz2 plan9port-b829c3547001eb2a3cf846410deb15ddd7349b96.zip |
for no systems.
-rw-r--r-- | src/libmach/nosys.c | 59 |
1 files changed, 59 insertions, 0 deletions
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 <u.h> +#include <libc.h> +#include <mach.h> + +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; +} |