Module Name: src
Committed By: kamil
Date: Sun Dec 22 17:01:15 UTC 2019
Modified Files:
src/lib/libc/sys: kqueue.2
Log Message:
Document udata type switch in struct kevent in the kqueue(2)
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/lib/libc/sys/kqueue.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/kqueue.2
diff -u src/lib/libc/sys/kqueue.2:1.48 src/lib/libc/sys/kqueue.2:1.49
--- src/lib/libc/sys/kqueue.2:1.48 Fri Apr 12 10:57:27 2019
+++ src/lib/libc/sys/kqueue.2 Sun Dec 22 17:01:15 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: kqueue.2,v 1.48 2019/04/12 10:57:27 abhinav Exp $
+.\" $NetBSD: kqueue.2,v 1.49 2019/12/22 17:01:15 kamil Exp $
.\"
.\" Copyright (c) 2000 Jonathan Lemon
.\" All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" $FreeBSD: src/lib/libc/sys/kqueue.2,v 1.22 2001/06/27 19:55:57 dd Exp $
.\"
-.Dd January 8, 2018
+.Dd December 22, 2019
.Dt KQUEUE 2
.Os
.Sh NAME
@@ -168,7 +168,7 @@ struct kevent {
uint32_t flags; /* action flags for kqueue */
uint32_t fflags; /* filter flag value */
int64_t data; /* filter data value */
- intptr_t udata; /* opaque user data identifier */
+ void *udata; /* opaque user data identifier */
};
.Ed
.Pp
@@ -677,3 +677,8 @@ The
.Fn EV_SET
macro was protected from evaluating multiple times the first argument in
.Nx 8.0 .
+.Pp
+The
+.Va udata
+type was changed from intptr_t to void * in
+.Nx 10.0 .