plan9port/src/libmach/nosys.c

62 lines
716 B
C
Raw Normal View History

2004-04-19 23:10:22 +00:00
/*
* process non-interface
*/
#include <u.h>
#include <libc.h>
#include <mach.h>
2004-04-19 23:58:57 +00:00
Mach *machcpu = &mach386;
2004-04-19 23:10:22 +00:00
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);
2004-04-19 23:58:57 +00:00
werrstr("ctlproc not implemented");
2004-04-19 23:10:22 +00:00
return -1;
}
char*
proctextfile(int pid)
{
USED(pid);
werrstr("proctextfile not implemented");
2004-04-19 23:58:57 +00:00
return nil;
2004-04-19 23:10:22 +00:00
}