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 */
 };
 
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to