diff options
| author | Alejandro Colomar <alx@kernel.org> | 2025-07-14 01:44:41 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2025-07-20 00:56:31 +0200 |
| commit | 99fc8d2561b63a8c59326dd8d61853e58d38b1d1 (patch) | |
| tree | ce03b565edd1f3526686a76ce9a533d66b4d281a | |
| parent | 219d7bb11fd41dc349442695f773d82040dc5e6c (diff) | |
| download | man-pages-99fc8d2561b63a8c59326dd8d61853e58d38b1d1.tar.gz | |
man/man2const/F_NOTIFY.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
| -rw-r--r-- | man/man2const/F_NOTIFY.2const | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/man/man2const/F_NOTIFY.2const b/man/man2const/F_NOTIFY.2const index 74efcd56b2..07c1900be5 100644 --- a/man/man2const/F_NOTIFY.2const +++ b/man/man2const/F_NOTIFY.2const @@ -18,9 +18,6 @@ Standard C library .BI "int fcntl(int " fd ", F_NOTIFY, int " arg ); .fi .SH DESCRIPTION -.TP -.BR F_NOTIFY \~(\f[I]int\f[]) -(Linux 2.4 onward) Provide notification when the directory referred to by .I fd or any of the files that it contains is changed. @@ -28,9 +25,6 @@ The events to be notified are specified in .IR arg , which is a bit mask specified by ORing together zero or more of the following bits: -.P -.RS -.PD 0 .TP .B DN_ACCESS A file was accessed @@ -77,15 +71,13 @@ The attributes of a file were changed .BR utime (2), .BR utimensat (2), and similar). -.PD -.RE -.IP +.P (In order to obtain these definitions, the .B _GNU_SOURCE feature test macro must be defined before including .I any header files.) -.IP +.P Directory notifications are normally "one-shot", and the application must reregister to receive further notifications. Alternatively, if @@ -93,7 +85,7 @@ Alternatively, if is included in .IR arg , then notification will remain in effect until explicitly removed. -.IP +.P .\" The following does seem a poor API-design choice... A series of .B F_NOTIFY @@ -105,7 +97,7 @@ To disable notification of all events, make an call specifying .I arg as 0. -.IP +.P Notification occurs via delivery of a signal. The default signal is .BR SIGIO , @@ -128,12 +120,12 @@ and the field of this structure contains the file descriptor which generated the notification (useful when establishing notification on multiple directories). -.IP +.P Especially when using .BR DN_MULTISHOT , a real time signal should be used for notification, so that multiple notifications can be queued. -.IP +.P .B NOTE: New applications should use the .I inotify @@ -153,15 +145,11 @@ See .BR fcntl (2). .TP .B ENOTDIR -.B F_NOTIFY -was specified in -.IR op , -but .I fd does not refer to a directory. .SH STANDARDS Linux. .SH HISTORY -Linux. +Linux 2.4. .SH SEE ALSO .BR fcntl (2) |
