diff options
Diffstat (limited to 'libgloss/libnosys/kill.c')
-rw-r--r-- | libgloss/libnosys/kill.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libgloss/libnosys/kill.c b/libgloss/libnosys/kill.c new file mode 100644 index 0000000..f1d12c6 --- /dev/null +++ b/libgloss/libnosys/kill.c @@ -0,0 +1,22 @@ +/* + * Stub version of kill. + */ + +#include "config.h" +#include <_ansi.h> +#include <_syslist.h> +#include <errno.h> +#undef errno +extern int errno; +#include "warning.h" + +int +_DEFUN (_kill, (pid, sig), + int pid _AND + int sig) +{ + errno = ENOSYS; + return -1; +} + +stub_warning(_kill) |