Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-09-11 04:30:32 +0400
committerJeff Johnston <jjohnstn@redhat.com>2008-09-11 04:30:32 +0400
commit9ecc83a3f7a3d4c2ee93bf3da38dbd90826fe84c (patch)
tree0ce07b96221fed01dc899c40727616721b0423ef /libgloss/spu/kill.c
parente841b018cbcc123c8415671dd783ba8770b90ce9 (diff)
2008-09-10 Ken Werner <ken.werner@de.ibm.com>
* spu/dirfuncs.c: Avoid warnings. * spu/kill.c: Likewise.
Diffstat (limited to 'libgloss/spu/kill.c')
-rw-r--r--libgloss/spu/kill.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgloss/spu/kill.c b/libgloss/spu/kill.c
index 8a5d22c82..1aa2f5e59 100644
--- a/libgloss/spu/kill.c
+++ b/libgloss/spu/kill.c
@@ -31,6 +31,7 @@ Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
*/
#include <unistd.h>
+#include <errno.h>
int
kill (int pid, int sig)
@@ -39,5 +40,7 @@ kill (int pid, int sig)
{
_exit (sig);
}
+ errno = ESRCH;
+ return -1;
}