aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/lockf.3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-08-19 13:40:01 +0200
committerAlejandro Colomar <alx@kernel.org>2025-09-21 16:26:15 +0200
commitf17990c243eafc1891ff692f90b6ce42e6449be8 (patch)
tree62e0e0242db019d77d263bd60a99c7b47a697d1f /man/man3/lockf.3
parentdbc3270a88165851aa5e7ab5d1f99dc1acb9624d (diff)
downloadman-pages-f17990c243eafc1891ff692f90b6ce42e6449be8.tar.gz
man/: Use semantic newlines
And fix related issues while at it. Silence false positives with \&. Reported-by: `make lint-man-semnl` Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/lockf.3')
-rw-r--r--man/man3/lockf.39
1 files changed, 6 insertions, 3 deletions
diff --git a/man/man3/lockf.3 b/man/man3/lockf.3
index 745c043c25..784ab2cb4d 100644
--- a/man/man3/lockf.3
+++ b/man/man3/lockf.3
@@ -89,7 +89,8 @@ This may cause a locked section to be split into two locked sections.
.TP
.B F_TEST
Test the lock: return 0 if the specified section
-is unlocked or locked by this process; return \-1, set
+is unlocked or locked by this process;
+return \-1, set
.I errno
to
.B EAGAIN
@@ -113,7 +114,8 @@ been memory-mapped by another process.
.TP
.B EBADF
.I fd
-is not an open file descriptor; or
+is not an open file descriptor;
+or
.I op
is
.B F_LOCK
@@ -131,7 +133,8 @@ and this lock operation would cause a deadlock.
.TP
.B EINTR
While waiting to acquire a lock, the call was interrupted by
-delivery of a signal caught by a handler; see
+delivery of a signal caught by a handler;
+see
.BR signal (7).
.TP
.B EINVAL