Files

22 lines
347 B
C
Raw Permalink Normal View History

2017-06-13 11:09:01 +01:00
/*
* Stub version of kill.
*/
#include "config.h"
#include <_ansi.h>
#include <_syslist.h>
#include <errno.h>
#ifdef REENTRANT_SYSCALLS_PROVIDED
int _kill_r(
struct _reent *ptr,
int pid,
int sig) {
#else
int _kill(int pid, int sig) {
struct _reent *ptr = _REENT;
#endif
ptr->_errno = ENOSYS;
return -1;
}