1
0
mirror of https://github.com/golang/go synced 2024-10-04 09:21:21 -06:00
go/src/libmach/freebsd.c
Devon H. O'Dell 0489a260da FreeBSD-specific porting work.
cgo/libmach remain unimplemented. However, compilers, runtime,
and packages are 100%. I still need to go through and implement
missing syscalls (at least make sure they're all listed), but
for all shipped functionality, this is done. Ship! ;)

R=rsc, VenkateshSrinivas
https://golang.org/cl/152142
2009-11-17 08:20:58 -08:00

42 lines
663 B
C

// 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");
}
char*
proctextfile(int pid)
{
sysfatal("proctextfile unimplemented in FreeBSD");
}
char*
procstatus(int pid)
{
sysfatal("procstatus unimplemented in FreeBSD");
}
Map*
attachproc(int pid, Fhdr *fp)
{
sysfatal("attachproc unimplemented in FreeBSD");
}
void
detachproc(Map *m)
{
sysfatal("detachproc unimplemented in FreeBSD");
}
int
procthreadpids(int pid, int *p, int np)
{
sysfatal("procthreadpids unimplemented in FreeBSD");
}