The Go Programming Language

Text file src/libmach/freebsd.c

     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		sysfatal("ctlproc unimplemented in FreeBSD");
    11		return -1;
    12	}
    13	
    14	char*
    15	proctextfile(int pid)
    16	{
    17		sysfatal("proctextfile unimplemented in FreeBSD");
    18		return nil;
    19	}
    20	
    21	char*
    22	procstatus(int pid)
    23	{
    24		sysfatal("procstatus unimplemented in FreeBSD");
    25		return nil;
    26	}
    27	
    28	Map*
    29	attachproc(int pid, Fhdr *fp)
    30	{
    31		sysfatal("attachproc unimplemented in FreeBSD");
    32		return nil;
    33	}
    34	
    35	void
    36	detachproc(Map *m)
    37	{
    38		sysfatal("detachproc unimplemented in FreeBSD");
    39	}
    40	
    41	int
    42	procthreadpids(int pid, int *p, int np)
    43	{
    44		sysfatal("procthreadpids unimplemented in FreeBSD");
    45		return -1;
    46	}

release.r60.3. Except as noted, this content is licensed under a Creative Commons Attribution 3.0 License.