URI: 
       tfor no systems. - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit b829c3547001eb2a3cf846410deb15ddd7349b96
   DIR parent 1b135a78054e05cd62dfa1a2606f93e3486f2b57
  HTML Author: rsc <devnull@localhost>
       Date:   Mon, 19 Apr 2004 23:10:22 +0000
       
       for no systems.
       
       Diffstat:
         A src/libmach/nosys.c                 |      59 +++++++++++++++++++++++++++++++
       
       1 file changed, 59 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/src/libmach/nosys.c b/src/libmach/nosys.c
       t@@ -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;
       +}