github.com/varialus/godfly@v0.0.0-20130904042352-1934f9f095ab/src/libmach/openbsd.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  	sysfatal("ctlproc unimplemented in OpenBSD");
    13  	return -1;
    14  }
    15  
    16  char*
    17  proctextfile(int pid)
    18  {
    19  	USED(pid);
    20  	sysfatal("proctextfile unimplemented in OpenBSD");
    21  	return nil;
    22  }
    23  
    24  char*
    25  procstatus(int pid)
    26  {
    27  	USED(pid);
    28  	sysfatal("procstatus unimplemented in OpenBSD");
    29  	return nil;
    30  }
    31  
    32  Map*
    33  attachproc(int pid, Fhdr *fp)
    34  {
    35  	USED(pid);
    36  	USED(fp);
    37  	sysfatal("attachproc unimplemented in OpenBSD");
    38  	return nil;
    39  }
    40  
    41  void
    42  detachproc(Map *m)
    43  {
    44  	USED(m);
    45  	sysfatal("detachproc unimplemented in OpenBSD");
    46  }
    47  
    48  int
    49  procthreadpids(int pid, int *p, int np)
    50  {
    51  	USED(pid);
    52  	USED(p);
    53  	USED(np);
    54  	sysfatal("procthreadpids unimplemented in OpenBSD");
    55  	return -1;
    56  }