4f294c247f
This patch mainly copies and modifies files existing in the current libc implementing minix specific functions. To keep consisten with the NetBSD libc, we remove namespace stubs and we use "namespace.h" and weak links.
20 lines
349 B
C
20 lines
349 B
C
#include <sys/cdefs.h>
|
|
#include "namespace.h"
|
|
#include <lib.h>
|
|
|
|
#include <signal.h>
|
|
|
|
#ifdef __weak_alias
|
|
__weak_alias(kill, _kill)
|
|
#endif
|
|
|
|
PUBLIC int kill(proc, sig)
|
|
int proc; /* which process is to be sent the signal */
|
|
int sig; /* signal number */
|
|
{
|
|
message m;
|
|
|
|
m.m1_i1 = proc;
|
|
m.m1_i2 = sig;
|
|
return(_syscall(PM_PROC_NR, KILL, &m));
|
|
}
|