for no systems.
This commit is contained in:
parent
1b135a7805
commit
b829c35470
1 changed files with 59 additions and 0 deletions
59
src/libmach/nosys.c
Normal file
59
src/libmach/nosys.c
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
/*
|
||||
* process non-interface
|
||||
*/
|
||||
|
||||
#include <u.h>
|
||||
#include <libc.h>
|
||||
#include <mach.h>
|
||||
|
||||
void
|
||||
unmapproc(Map *m)
|
||||
{
|
||||
USED(m);
|
||||
}
|
||||
|
||||
int
|
||||
mapproc(int pid, Map *m, Regs **r)
|
||||
{
|
||||
USED(pid);
|
||||
USED(m);
|
||||
USED(r);
|
||||
if(r)
|
||||
*r = nil;
|
||||
werrstr("mapproc not implemented");
|
||||
return -1;
|
||||
}
|
||||
|
||||
int
|
||||
detachproc(int pid)
|
||||
{
|
||||
USED(pid);
|
||||
werrstr("detachproc not implemented");
|
||||
return -1;
|
||||
}
|
||||
|
||||
int
|
||||
procnotes(int pid, char ***notes)
|
||||
{
|
||||
USED(pid);
|
||||
USED(notes);
|
||||
werrstr("procnotes not implemented");
|
||||
return -1;
|
||||
}
|
||||
|
||||
int
|
||||
ctlproc(int pid, char *msg)
|
||||
{
|
||||
USED(pid);
|
||||
USED(msg);
|
||||
werrstr("ctlproc not implemented');
|
||||
return -1;
|
||||
}
|
||||
|
||||
char*
|
||||
proctextfile(int pid)
|
||||
{
|
||||
USED(pid);
|
||||
werrstr("proctextfile not implemented");
|
||||
return -1;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue