diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2013-08-14 10:06:03 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2013-08-14 10:06:03 +0000 |
commit | b561f4b330838a194ea67ba4e350c0d8c78f501b (patch) | |
tree | 7a9fc8d97ffe66cfdc2c781abf4def7f841800b8 /lib/libc | |
parent | ba050538650ea1ee95b17763f886281689e04859 (diff) |
ident and data members of struct kevent changed types: ident to
uintptr_t, so it can hold pointers for EVFILT_TIMER and _AIO, and
data to quad_t, so it can hold file offets.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/kqueue.2 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index 998c540d516..6a7c3475147 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kqueue.2,v 1.27 2013/07/16 15:21:11 schwarze Exp $ +.\" $OpenBSD: kqueue.2,v 1.28 2013/08/14 10:06:02 guenther Exp $ .\" .\" Copyright (c) 2000 Jonathan Lemon .\" All rights reserved. @@ -26,7 +26,7 @@ .\" .\" $FreeBSD: src/lib/libc/sys/kqueue.2,v 1.18 2001/02/14 08:48:35 guido Exp $ .\" -.Dd $Mdocdate: July 16 2013 $ +.Dd $Mdocdate: August 14 2013 $ .Dt KQUEUE 2 .Os .Sh NAME @@ -133,12 +133,12 @@ The structure is defined as: .Bd -literal struct kevent { - u_int ident; /* identifier for this event */ - short filter; /* filter for event */ - u_short flags; /* action flags for kqueue */ - u_int fflags; /* filter flag value */ - int data; /* filter data value */ - void *udata; /* opaque user data identifier */ + uintptr_t ident; /* identifier for this event */ + short filter; /* filter for event */ + u_short flags; /* action flags for kqueue */ + u_int fflags; /* filter flag value */ + quad_t data; /* filter data value */ + void *udata; /* opaque user data identifier */ }; .Ed .Pp |