2 .\" Copyright (c) 2017 John Baldwin <jhb@FreeBSD.org>
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 .Dt sysdecode_kevent 3
32 .Nm sysdecode_kevent ,
33 .Nm sysdecode_kevent_fflags ,
34 .Nm sysdecode_kevent_filter ,
35 .Nm sysdecode_kevent_flags
36 .Nd output description of kevent structure fields
45 .Fn sysdecode_kevent_fflags "FILE *fp" "short filter" "int fflags" "int base"
47 .Fn sysdecode_kevent_flags "FILE *fp" "int flags" "int *rem"
49 .Fn sysdecode_kevent_filter "int filter"
51 These functions provide text descriptions of
56 .Fn sysdecode_kevent_fflags
57 function outputs a text description of the
73 .Fn sysdecode_kevent_fflags
74 outputs a bitmask of filter-specific
76 flags as documented in
82 is output in the indicated
84 .Pq one of 8, 10, or 16 .
87 .Fn sysdecode_kevent_filter
88 function returns a text description of the
98 .Fn sysdecode_kevent_flags
99 function outputs a text description of the
105 This function uses the same calling convention and formatting as the other
106 functions described in
107 .Xr sysdecode_mask 3 .
110 .Nm sysdecode_kevent_filter
111 function returns the name of a filter or
112 .Dv NULL if the filter value is unknown.
115 .Nm sysdecode_kevent_flags
120 field were decoded and
122 if no flags were decoded.
125 .Xr sysdecode_enum 3 ,