summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2013-08-14 10:06:02 +0000
committerguenther <guenther@openbsd.org>2013-08-14 10:06:02 +0000
commitade7605900476951791d9b6d4fc22f40dbb6b67b (patch)
tree793e9124b58692ab3b643f6bd1d55912c2f88ba5 /lib/libc/sys
parentmore Bx; (diff)
downloadwireguard-openbsd-ade7605900476951791d9b6d4fc22f40dbb6b67b.tar.xz
wireguard-openbsd-ade7605900476951791d9b6d4fc22f40dbb6b67b.zip
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/sys')
-rw-r--r--lib/libc/sys/kqueue.216
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