diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/psignal.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cpukit/posix/src/psignal.c b/cpukit/posix/src/psignal.c index 5db634a924..1450164021 100644 --- a/cpukit/posix/src/psignal.c +++ b/cpukit/posix/src/psignal.c @@ -1222,6 +1222,26 @@ int kill( } /* + * _kill_r + * + * This is the Newlib dependent reentrant version of kill(). + */ + +#if defined(RTEMS_NEWLIB) + +#include <reent.h> + +int _kill_r( + struct _reent *ptr, + pid_t pid, + int sig +) +{ + return kill( pid, sig ); +} +#endif + +/* * 3.3.9 Queue a Signal to a Process, P1003.1b-1993, p. 78 */ |