diff options
| author | Kyle Evans <kevans@FreeBSD.org> | 2024-03-05 04:14:06 +0000 |
|---|---|---|
| committer | Kyle Evans <kevans@FreeBSD.org> | 2024-03-05 05:44:09 +0000 |
| commit | bd23e71f91ceec5dfdffc28bbd0020849fdd20b4 (patch) | |
| tree | 7551e2cfd4c28a9378b22729480f994fe7f9a2a9 /lib/libsysdecode/sysdecode.h | |
| parent | b5d2165b9046572c9361a8e8b09323a6001ac586 (diff) | |
libsysdecode: add a decoder for pollfd events
We'll use this in another change to read pollfd arrays coming from a
successful poll(2) operation.
Reviewed by: bapt, jhb
Differential Revision: https://reviews.freebsd.org/D44159
Diffstat (limited to 'lib/libsysdecode/sysdecode.h')
| -rw-r--r-- | lib/libsysdecode/sysdecode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libsysdecode/sysdecode.h b/lib/libsysdecode/sysdecode.h index 4c091bb14343..8dc0bbea6f0d 100644 --- a/lib/libsysdecode/sysdecode.h +++ b/lib/libsysdecode/sysdecode.h @@ -83,6 +83,7 @@ const char *sysdecode_nfssvc_flags(int _flags); bool sysdecode_open_flags(FILE *_fp, int _flags, int *_rem); const char *sysdecode_pathconf_name(int _name); bool sysdecode_pipe2_flags(FILE *_fp, int _flags, int *_rem); +bool sysdecode_pollfd_events(FILE *fp, int flags, int *rem); const char *sysdecode_prio_which(int _which); const char *sysdecode_procctl_cmd(int _cmd); const char *sysdecode_ptrace_request(int _request); |
