newlib-cygwin/newlib/libc/syscalls/syskill.c

16 lines
224 B
C
Raw Normal View History

2000-02-18 03:39:52 +08:00
/* connector for kill */
#include <reent.h>
int
_DEFUN (kill, (pid, sig),
int pid _AND
int sig)
2000-02-18 03:39:52 +08:00
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
return _kill_r (_REENT, pid, sig);
#else
return _kill (pid, sig);
#endif
}