summaryrefslogtreecommitdiff
path: root/src/libmach/freebsd.c
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2011-09-13 13:11:55 +0200
committerOndřej Surý <ondrej@sury.org>2011-09-13 13:11:55 +0200
commit80f18fc933cf3f3e829c5455a1023d69f7b86e52 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /src/libmach/freebsd.c
parent28592ee1ea1f5cdffcf85472f9de0285d928cf12 (diff)
downloadgolang-80f18fc933cf3f3e829c5455a1023d69f7b86e52.tar.gz
Imported Upstream version 60
Diffstat (limited to 'src/libmach/freebsd.c')
-rw-r--r--src/libmach/freebsd.c46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/libmach/freebsd.c b/src/libmach/freebsd.c
deleted file mode 100644
index 45de966ec..000000000
--- a/src/libmach/freebsd.c
+++ /dev/null
@@ -1,46 +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)
-{
- sysfatal("ctlproc unimplemented in FreeBSD");
- return -1;
-}
-
-char*
-proctextfile(int pid)
-{
- sysfatal("proctextfile unimplemented in FreeBSD");
- return nil;
-}
-
-char*
-procstatus(int pid)
-{
- sysfatal("procstatus unimplemented in FreeBSD");
- return nil;
-}
-
-Map*
-attachproc(int pid, Fhdr *fp)
-{
- sysfatal("attachproc unimplemented in FreeBSD");
- return nil;
-}
-
-void
-detachproc(Map *m)
-{
- sysfatal("detachproc unimplemented in FreeBSD");
-}
-
-int
-procthreadpids(int pid, int *p, int np)
-{
- sysfatal("procthreadpids unimplemented in FreeBSD");
- return -1;
-}