Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2018 18:47:04 +0000 (UTC)
From:      David Bright <dab@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r336647 - stable/10/sys/sys
Message-ID:  <201807231847.w6NIl4LZ055742@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dab
Date: Mon Jul 23 18:47:04 2018
New Revision: 336647
URL: https://svnweb.freebsd.org/changeset/base/336647

Log:
  MFC r336457:
  
  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.
  
  Sponsored by:	Dell EMC

Modified:
  stable/10/sys/sys/event.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/sys/event.h
==============================================================================
--- stable/10/sys/sys/event.h	Mon Jul 23 18:35:58 2018	(r336646)
+++ stable/10/sys/sys/event.h	Mon Jul 23 18:47:04 2018	(r336647)
@@ -73,9 +73,9 @@
 struct kevent {
 	uintptr_t	ident;		/* identifier for this event */
 	short		filter;		/* filter for event */
-	u_short		flags;
-	u_int		fflags;
-	intptr_t	data;
+	u_short		flags;		/* action flags for kqueue */
+	u_int		fflags;		/* filter flag value */
+	intptr_t	data;		/* filter data value */
 	void		*udata;		/* opaque user data identifier */
 };
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807231847.w6NIl4LZ055742>