Changeset ac824ff in rtems


Ignore:
Timestamp:
Jul 18, 2018, 1:04:03 PM (15 months ago)
Author:
dab <dab@…>
Branches:
master
Children:
71948f76
Parents:
96b32773
git-author:
dab <dab@…> (07/18/18 13:04:03)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/08/18 06:15:17)
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/sys/event.h

    r96b32773 rac824ff  
    8484        __uintptr_t     ident;          /* identifier for this event */
    8585        short           filter;         /* filter for event */
    86         unsigned short  flags;
    87         unsigned int    fflags;
    88         __int64_t       data;
     86        unsigned short  flags;          /* action flags for kqueue */
     87        unsigned int    fflags;         /* filter flag value */
     88        __int64_t       data;           /* filter data value */
    8989        void            *udata;         /* opaque user data identifier */
    90         __uint64_t      ext[4];
     90        __uint64_t      ext[4];         /* extensions */
    9191};
    9292
Note: See TracChangeset for help on using the changeset viewer.