plat/msdos86: copy stubs kill( ), signal( ), from plat/pc86

This commit is contained in:
Tee-Kiah Chia 2021-03-28 12:28:57 +00:00
parent 466cf20805
commit f2c8828a4b
2 changed files with 29 additions and 0 deletions

View 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;
}

View 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;
}