Add member fields for POSIX timer.

This commit is contained in:
davidxu 2005-10-23 03:59:52 +00:00
parent c402c6ca48
commit 840281629a

View File

@ -203,11 +203,17 @@ typedef struct __siginfo {
struct {
int _trapno;/* machine specific trap code */
} _fault;
struct {
int _timerid;
int _overrun;
} _timer;
int __spare__[7]; /* gimme some slack */
} _reason;
} siginfo_t;
#define si_trapno _reason._fault._trapno
#define si_timerid _reason._timer._timerid
#define si_overrun _reason._timer._overrun
/** si_code **/
/* codes for SIGILL */