Main index | Section 3 | Options |
#include <sys/types.h>
#include <stdbool.h>
#include <stdio.h>
#include <sysdecode.h>
The sysdecode_kevent_fflags() function outputs a text description of the fflags member of a struct kevent to the stream fp. For the EVFILT_READ, EVFILT_WRITE, EVFILT_VNODE, EVFILT_PROC, EVFILT_PROCDESC, EVFILT_TIMER, and EVFILT_USER filters, sysdecode_kevent_fflags() outputs a bitmask of filter-specific NOTE_* flags as documented in kevent(2). For other values of filter, the value of fflags is output in the indicated base (one of 8, 10, or 16).
The sysdecode_kevent_filter() function returns a text description of the filter member of a struct kevent. NULL is returned if the filter value is unknown.
The sysdecode_kevent_flags() function outputs a text description of the flags member of a struct kevent to the stream fp. This function uses the same calling convention and formatting as the other functions described in sysdecode_mask(3).
The sysdecode_kevent_flags function returns true if any flags in the flags field were decoded and false if no flags were decoded.
sysdecode_kevent (3) | November 24, 2017 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | A typical Unix /bin or /usr/bin directory contains a hundred different kinds of programs, written by dozens of egotistical programmers, each with its own syntax, operating paradigm, rules of use ... strategies for specifying options, and different sets of constraints. | ” |
— The Unix Haters' handbook |