fanotify.7: ffix: boldface user commands in shell sessions

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-06-08 12:40:03 +02:00
parent 7877c84647
commit 26f6196ab6
1 changed files with 5 additions and 5 deletions

View File

@ -746,7 +746,7 @@ processed.
.SS Example output (fanotify_example.c)
.in +4n
.EX
# ./fanotify_example /home
# \fB./fanotify_example /home\fP
Press enter key to terminate.
Listening for events.
FAN_OPEN_PERM: File /home/user/temp/notes
@ -757,23 +757,23 @@ Listening for events stopped.
.SS Example output (fanotify_fid.c)
.in +4n
.EX
# ./fanotify_fid /home/user
# \fB./fanotify_fid /home/user\fP
Listening for events.
FAN_CREATE (file created):
Directory /home/user has been modified.
All events processed successfully. Program exiting.
$ touch /home/user/testing
$ \fBtouch /home/user/testing\fP
---
# ./fanotify_fid /home/user
# \fB./fanotify_fid /home/user\fP
Listening for events.
FAN_CREATE | FAN_ONDIR (subdirectory created):
Directory /home/user has been modified.
All events processed successfully. Program exiting.
$ mkdir \-p /home/user/testing
$ \fBmkdir \-p /home/user/testing\fP
.EE
.in
.SS Program source: fanotify_example.c