nosys.c (716B)
1 /* 2 * process non-interface 3 */ 4 5 #include <u.h> 6 #include <libc.h> 7 #include <mach.h> 8 9 Mach *machcpu = &mach386; 10 11 void 12 unmapproc(Map *m) 13 { 14 USED(m); 15 } 16 17 int 18 mapproc(int pid, Map *m, Regs **r) 19 { 20 USED(pid); 21 USED(m); 22 USED(r); 23 if(r) 24 *r = nil; 25 werrstr("mapproc not implemented"); 26 return -1; 27 } 28 29 int 30 detachproc(int pid) 31 { 32 USED(pid); 33 werrstr("detachproc not implemented"); 34 return -1; 35 } 36 37 int 38 procnotes(int pid, char ***notes) 39 { 40 USED(pid); 41 USED(notes); 42 werrstr("procnotes not implemented"); 43 return -1; 44 } 45 46 int 47 ctlproc(int pid, char *msg) 48 { 49 USED(pid); 50 USED(msg); 51 werrstr("ctlproc not implemented"); 52 return -1; 53 } 54 55 char* 56 proctextfile(int pid) 57 { 58 USED(pid); 59 werrstr("proctextfile not implemented"); 60 return nil; 61 }