aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/signal.h
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2005-10-23 03:59:52 +0000
committerDavid Xu <davidxu@FreeBSD.org>2005-10-23 03:59:52 +0000
commit575c4eadf68ecda15af1a6f8aba1c378e072728e (patch)
tree8810b412d37d82fa174380caa4cbdc2ba1c4cf6c /sys/sys/signal.h
parent57c1493b3adf026cf43619eb5142ee8a560d30ca (diff)
downloadsrc-575c4eadf68ecda15af1a6f8aba1c378e072728e.tar.gz
src-575c4eadf68ecda15af1a6f8aba1c378e072728e.zip
Add member fields for POSIX timer.
Notes
Notes: svn path=/head/; revision=151574
Diffstat (limited to 'sys/sys/signal.h')
-rw-r--r--sys/sys/signal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index ccd5c9214d84..7e273e30dd50 100644
--- a/sys/sys/signal.h
+++ b/sys/sys/signal.h
@@ -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 */