Cygwin: access: Fix X_OK behaviour for backup operators and admins
[newlib-cygwin.git] / newlib / libc / sys / a29khif / kill.c
blobecb489e38edae92bb4eba745e59a1e830f6d413d
1 /* Stub for kill. */
3 #include <_ansi.h>
4 #include <errno.h>
6 /* The pid argument should be of type pid_t. */
8 int
9 _kill (int pid,
10 int sig)
12 if (pid == 1 || pid < 0)
14 if (sig == 0)
15 return 0;
16 return raise (sig);
18 errno = EINVAL;
19 return -1;