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:
Diffstat (limited to 'newlib/libc/syscalls/syskill.c')
-rw-r--r--newlib/libc/syscalls/syskill.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/newlib/libc/syscalls/syskill.c b/newlib/libc/syscalls/syskill.c
new file mode 100644
index 000000000..4ee2f64df
--- /dev/null
+++ b/newlib/libc/syscalls/syskill.c
@@ -0,0 +1,15 @@
+/* connector for kill */
+
+#include <reent.h>
+
+int
+kill (pid, sig)
+ int pid;
+ int sig;
+{
+#ifdef REENTRANT_SYSCALLS_PROVIDED
+ return _kill_r (_REENT, pid, sig);
+#else
+ return _kill (pid, sig);
+#endif
+}