svn commit: r336457 - head/sys/sys
David Bright
dab at FreeBSD.org
Wed Jul 18 13:04:05 UTC 2018
Author: dab
Date: Wed Jul 18 13:04:03 2018
New Revision: 336457
URL: https://svnweb.freebsd.org/changeset/base/336457
Log:
Make the definition of struct kevent in event.h match what the man page for kevent(2) says.
This is a trivial comment-only fix. The man page for kevent(2) gives
the definition of struct kevent, including a comment on each
field. The actual definition in sys/event.h omitted the comments on
some fields. Add the comments in. Not only does this make the man page
and include file agree, but the comments are useful in and of
themselves.
Reviewed by: kib (D15778: commented that this should be a separate commit)
MFC after: 3 days
Sponsored by: Dell EMC
Modified:
head/sys/sys/event.h
Modified: head/sys/sys/event.h
==============================================================================
--- head/sys/sys/event.h Wed Jul 18 12:29:06 2018 (r336456)
+++ head/sys/sys/event.h Wed Jul 18 13:04:03 2018 (r336457)
@@ -83,11 +83,11 @@
struct kevent {
__uintptr_t ident; /* identifier for this event */
short filter; /* filter for event */
- unsigned short flags;
- unsigned int fflags;
- __int64_t data;
+ unsigned short flags; /* action flags for kqueue */
+ unsigned int fflags; /* filter flag value */
+ __int64_t data; /* filter data value */
void *udata; /* opaque user data identifier */
- __uint64_t ext[4];
+ __uint64_t ext[4]; /* extensions */
};
#if defined(_WANT_FREEBSD11_KEVENT)
More information about the svn-src-all
mailing list