From 941b7405773031c63f9eba588234b23aababc564 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 23 May 2003 00:29:02 +0000 Subject: [PATCH] 2003-05-22 Roland McGrath * signal.c [LINUX] (SI_SIGIO, SI_TKILL): New macros. [LINUX || SVR4] (siginfo_codes): Add strings for them. --- signal.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/signal.c b/signal.c index 64b15682..43982942 100644 --- a/signal.c +++ b/signal.c @@ -416,6 +416,8 @@ int nr; #define SI_TIMER -2 /* sent by timer expiration */ #define SI_MESGQ -3 /* sent by real time mesq state change */ #define SI_ASYNCIO -4 /* sent by AIO completion */ +#define SI_SIGIO -5 /* Sent by SIGIO */ +#define SI_TKILL -6 /* Sent by tkill */ #endif #if __GLIBC_MINOR__ < 1 @@ -525,6 +527,12 @@ static struct xlat siginfo_codes[] = { #endif #ifdef SI_MESGQ { SI_MESGQ, "SI_MESGQ" }, +#endif +#ifdef SI_SIGIO + { SI_SIGIO, "SI_SIGIO" }, +#endif +#ifdef SI_TKILL + { SI_TKILL, "SI_TKILL" }, #endif { 0, NULL }, }; -- 2.40.0