plan9port

[fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port # fast
git clone https://src.adamsgaard.dk/plan9port.git # slow
Log | Files | Refs | README | LICENSE Back to index

commit b829c3547001eb2a3cf846410deb15ddd7349b96
parent 1b135a78054e05cd62dfa1a2606f93e3486f2b57
Author: rsc <devnull@localhost>
Date:   Mon, 19 Apr 2004 23:10:22 +0000

for no systems.

Diffstat:
Asrc/libmach/nosys.c | 59+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+), 0 deletions(-)

diff --git a/src/libmach/nosys.c 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; +}