diff options
author | Michael Stapelberg <stapelberg@debian.org> | 2014-06-19 09:22:53 +0200 |
---|---|---|
committer | Michael Stapelberg <stapelberg@debian.org> | 2014-06-19 09:22:53 +0200 |
commit | 8a39ee361feb9bf46d728ff1ba4f07ca1d9610b1 (patch) | |
tree | 4449f2036cccf162e8417cc5841a35815b3e7ac5 /src/libmach/openbsd.c | |
parent | c8bf49ef8a92e2337b69c14b9b88396efe498600 (diff) | |
download | golang-upstream/1.3.tar.gz |
Imported Upstream version 1.3upstream/1.3
Diffstat (limited to 'src/libmach/openbsd.c')
-rw-r--r-- | src/libmach/openbsd.c | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/src/libmach/openbsd.c b/src/libmach/openbsd.c deleted file mode 100644 index ace8a22a5..000000000 --- a/src/libmach/openbsd.c +++ /dev/null @@ -1,56 +0,0 @@ -// This is stubbed out for the moment. Will revisit when the time comes. -#include <u.h> -#include <libc.h> -#include <bio.h> -#include <mach.h> - -int -ctlproc(int pid, char *msg) -{ - USED(pid); - USED(msg); - sysfatal("ctlproc unimplemented in OpenBSD"); - return -1; -} - -char* -proctextfile(int pid) -{ - USED(pid); - sysfatal("proctextfile unimplemented in OpenBSD"); - return nil; -} - -char* -procstatus(int pid) -{ - USED(pid); - sysfatal("procstatus unimplemented in OpenBSD"); - return nil; -} - -Map* -attachproc(int pid, Fhdr *fp) -{ - USED(pid); - USED(fp); - sysfatal("attachproc unimplemented in OpenBSD"); - return nil; -} - -void -detachproc(Map *m) -{ - USED(m); - sysfatal("detachproc unimplemented in OpenBSD"); -} - -int -procthreadpids(int pid, int *p, int np) -{ - USED(pid); - USED(p); - USED(np); - sysfatal("procthreadpids unimplemented in OpenBSD"); - return -1; -} |