github.com/varialus/godfly@v0.0.0-20130904042352-1934f9f095ab/src/libmach/freebsd.c (about) 1 // This is stubbed out for the moment. Will revisit when the time comes. 2 #include <u.h> 3 #include <libc.h> 4 #include <bio.h> 5 #include <mach.h> 6 7 int 8 ctlproc(int pid, char *msg) 9 { 10 USED(pid); 11 USED(msg); 12 13 sysfatal("ctlproc unimplemented in FreeBSD"); 14 return -1; 15 } 16 17 char* 18 proctextfile(int pid) 19 { 20 USED(pid); 21 22 sysfatal("proctextfile unimplemented in FreeBSD"); 23 return nil; 24 } 25 26 char* 27 procstatus(int pid) 28 { 29 USED(pid); 30 31 sysfatal("procstatus unimplemented in FreeBSD"); 32 return nil; 33 } 34 35 Map* 36 attachproc(int pid, Fhdr *fp) 37 { 38 USED(pid); 39 USED(fp); 40 41 sysfatal("attachproc unimplemented in FreeBSD"); 42 return nil; 43 } 44 45 void 46 detachproc(Map *m) 47 { 48 USED(m); 49 50 sysfatal("detachproc unimplemented in FreeBSD"); 51 } 52 53 int 54 procthreadpids(int pid, int *p, int np) 55 { 56 USED(pid); 57 USED(p); 58 USED(np); 59 60 sysfatal("procthreadpids unimplemented in FreeBSD"); 61 return -1; 62 }