<p dir="ltr"><br>
On Apr 12, 2016 8:09 AM, "Gedare Bloom" <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>> wrote:<br>
><br>
> Joel, any idea where killinfo came from?</p>
<p dir="ltr">I was wondering the same thing this morning. I have old POSIX specs on paper at the office but if it isn't around now, killing it isn't a bad idea. </p>
<p dir="ltr">I can't find any reference to it now either.<br></p>
<p dir="ltr">> On Tue, Apr 12, 2016 at 2:02 AM, Sebastian Huber<br>
> <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br>
> > Apparently killinfo() is not defined by POSIX, glibc or FreeBSD. Rename<br>
> > killinfo() to _POSIX_signals_Send() to cleary mark it as an internal<br>
> > function.<br>
> > ---<br>
> > cpukit/posix/include/rtems/posix/psignalimpl.h | 2 +-<br>
> > cpukit/posix/src/kill.c | 2 +-<br>
> > cpukit/posix/src/kill_r.c | 2 +-<br>
> > cpukit/posix/src/killinfo.c | 2 +-<br>
> > cpukit/posix/src/sigqueue.c | 2 +-<br>
> > 5 files changed, 5 insertions(+), 5 deletions(-)<br>
> ><br>
> > diff --git a/cpukit/posix/include/rtems/posix/psignalimpl.h b/cpukit/posix/include/rtems/posix/psignalimpl.h<br>
> > index 7c1424c..8399a7b 100644<br>
> > --- a/cpukit/posix/include/rtems/posix/psignalimpl.h<br>
> > +++ b/cpukit/posix/include/rtems/posix/psignalimpl.h<br>
> > @@ -107,7 +107,7 @@ bool _POSIX_signals_Clear_signals(<br>
> > bool do_signals_acquire_release<br>
> > );<br>
> ><br>
> > -int killinfo(<br>
> > +int _POSIX_signals_Send(<br>
> > pid_t pid,<br>
> > int sig,<br>
> > const union sigval *value<br>
> > diff --git a/cpukit/posix/src/kill.c b/cpukit/posix/src/kill.c<br>
> > index 6e28f00..ee2c1b0 100644<br>
> > --- a/cpukit/posix/src/kill.c<br>
> > +++ b/cpukit/posix/src/kill.c<br>
> > @@ -30,6 +30,6 @@ int kill(<br>
> > int sig<br>
> > )<br>
> > {<br>
> > - return killinfo( pid, sig, NULL );<br>
> > + return _POSIX_signals_Send( pid, sig, NULL );<br>
> > }<br>
> ><br>
> > diff --git a/cpukit/posix/src/kill_r.c b/cpukit/posix/src/kill_r.c<br>
> > index a25961e..97dcd43 100644<br>
> > --- a/cpukit/posix/src/kill_r.c<br>
> > +++ b/cpukit/posix/src/kill_r.c<br>
> > @@ -37,6 +37,6 @@ int _kill_r(<br>
> > int sig<br>
> > )<br>
> > {<br>
> > - return killinfo( pid, sig, NULL );<br>
> > + return _POSIX_signals_Send( pid, sig, NULL );<br>
> > }<br>
> > #endif<br>
> > diff --git a/cpukit/posix/src/killinfo.c b/cpukit/posix/src/killinfo.c<br>
> > index 7a70539..3df670c 100644<br>
> > --- a/cpukit/posix/src/killinfo.c<br>
> > +++ b/cpukit/posix/src/killinfo.c<br>
> > @@ -54,7 +54,7 @@<br>
> > #define _POSIX_signals_Is_interested( _api, _mask ) \<br>
> > ( (_api)->signals_unblocked & (_mask) )<br>
> ><br>
> > -int killinfo(<br>
> > +int _POSIX_signals_Send(<br>
> > pid_t pid,<br>
> > int sig,<br>
> > const union sigval *value<br>
> > diff --git a/cpukit/posix/src/sigqueue.c b/cpukit/posix/src/sigqueue.c<br>
> > index 380ada6..56292bf 100644<br>
> > --- a/cpukit/posix/src/sigqueue.c<br>
> > +++ b/cpukit/posix/src/sigqueue.c<br>
> > @@ -31,5 +31,5 @@ int sigqueue(<br>
> > const union sigval value<br>
> > )<br>
> > {<br>
> > - return killinfo( pid, signo, &value );<br>
> > + return _POSIX_signals_Send( pid, signo, &value );<br>
> > }<br>
> > --<br>
> > 1.8.4.5<br>
> ><br>
> > _______________________________________________<br>
> > devel mailing list<br>
> > <a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
> > <a href="http://lists.rtems.org/mailman/listinfo/devel">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</p>