plat/msdos86: copy stubs kill( ), signal( ), from plat/pc86
This commit is contained in:
parent
466cf20805
commit
f2c8828a4b
14
plat/msdos86/libsys/kill.c
Normal file
14
plat/msdos86/libsys/kill.c
Normal file
|
@ -0,0 +1,14 @@
|
|||
/* $Source$
|
||||
* $State$
|
||||
* $Revision$
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int kill(pid_t pid, int sig)
|
||||
{
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
}
|
15
plat/msdos86/libsys/signal.c
Normal file
15
plat/msdos86/libsys/signal.c
Normal file
|
@ -0,0 +1,15 @@
|
|||
/* $Source$
|
||||
* $State$
|
||||
* $Revision$
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#include "libsys.h"
|
||||
|
||||
sighandler_t signal(int signum, sighandler_t handler)
|
||||
{
|
||||
return SIG_DFL;
|
||||
}
|
Loading…
Reference in a new issue