[PATCH v1 2/3] proc_pid_fdinfo.5: Add subsection headers for different fd types

Ian Rogers
2024-10-15T18:38:48Z

Make the sections about eventfd, epoll, signalfd, inotify, fanotify,
timerfd better separated with a clearer subsection header.

Signed-off-by: Ian Rogers <irogers@google.com>
---
man/man5/proc_pid_fdinfo.5 | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/man/man5/proc_pid_fdinfo.5 b/man/man5/proc_pid_fdinfo.5
index 0c4950d5d..3f90f6bb5 100644
--- a/man/man5/proc_pid_fdinfo.5
+++ b/man/man5/proc_pid_fdinfo.5
@@ -59,6 +59,7 @@ is the ID of the mount containing this file.
See the description of
.IR /proc/ pid /mountinfo .
.RE
+.SS eventfd
.P
For eventfd file descriptors (see
.BR eventfd (2)),
@@ -77,6 +78,7 @@ eventfd\-count: 40
.P
.I eventfd\-count
is the current value of the eventfd counter, in hexadecimal.
+.SS epoll
.P
For epoll file descriptors (see
.BR epoll (7)),
@@ -110,6 +112,7 @@ descriptor.
The
.I data
field is the data value associated with this file descriptor.
+.SS signalfd
.P
For signalfd file descriptors (see
.BR signalfd (2)),
@@ -135,6 +138,7 @@ and
.BR SIGQUIT ;
see
.BR signal (7).)
+.SS inotify
.P
For inotify file descriptors (see
.BR inotify (7)),
@@ -175,6 +179,7 @@ file is exposed as a file handle, via three hexadecimal fields:
.IR fhandle\-type ,
and
.IR f_handle .
+.SS fanotify
.P
For fanotify file descriptors (see
.BR fanotify (7)),
@@ -231,6 +236,7 @@ The mask of events that are ignored for this mark
.P
For details on these fields, see
.BR fanotify_mark (2).
+.SS timerfd
.P
For timerfd file descriptors (see
.BR timerfd (2)),
--
2.47.0.rc1.288.g06298d1525-goog