2003-05-22 Roland McGrath <roland@redhat.com>
* signal.c [LINUX] (SI_SIGIO, SI_TKILL): New macros. [LINUX || SVR4] (siginfo_codes): Add strings for them.
This commit is contained in:
8
signal.c
8
signal.c
@ -416,6 +416,8 @@ int nr;
|
|||||||
#define SI_TIMER -2 /* sent by timer expiration */
|
#define SI_TIMER -2 /* sent by timer expiration */
|
||||||
#define SI_MESGQ -3 /* sent by real time mesq state change */
|
#define SI_MESGQ -3 /* sent by real time mesq state change */
|
||||||
#define SI_ASYNCIO -4 /* sent by AIO completion */
|
#define SI_ASYNCIO -4 /* sent by AIO completion */
|
||||||
|
#define SI_SIGIO -5 /* Sent by SIGIO */
|
||||||
|
#define SI_TKILL -6 /* Sent by tkill */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __GLIBC_MINOR__ < 1
|
#if __GLIBC_MINOR__ < 1
|
||||||
@ -525,6 +527,12 @@ static struct xlat siginfo_codes[] = {
|
|||||||
#endif
|
#endif
|
||||||
#ifdef SI_MESGQ
|
#ifdef SI_MESGQ
|
||||||
{ SI_MESGQ, "SI_MESGQ" },
|
{ SI_MESGQ, "SI_MESGQ" },
|
||||||
|
#endif
|
||||||
|
#ifdef SI_SIGIO
|
||||||
|
{ SI_SIGIO, "SI_SIGIO" },
|
||||||
|
#endif
|
||||||
|
#ifdef SI_TKILL
|
||||||
|
{ SI_TKILL, "SI_TKILL" },
|
||||||
#endif
|
#endif
|
||||||
{ 0, NULL },
|
{ 0, NULL },
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user