Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Document udata type switch in struct kevent in ...



details:   https://anonhg.NetBSD.org/src/rev/627a4eadf012
branches:  trunk
changeset: 967791:627a4eadf012
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sun Dec 22 17:01:15 2019 +0000

description:
Document udata type switch in struct kevent in the kqueue(2)

diffstat:

 lib/libc/sys/kqueue.2 |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 5366fe91ea8f -r 627a4eadf012 lib/libc/sys/kqueue.2
--- a/lib/libc/sys/kqueue.2     Sun Dec 22 16:50:03 2019 +0000
+++ b/lib/libc/sys/kqueue.2     Sun Dec 22 17:01:15 2019 +0000
@@ -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 @@
        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 @@
 .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 .



Home | Main Index | Thread Index | Old Index