summaryrefslogtreecommitdiffstats
path: root/upstream/fedora-rawhide/man2/flock.2
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/fedora-rawhide/man2/flock.2')
-rw-r--r--upstream/fedora-rawhide/man2/flock.28
1 files changed, 4 insertions, 4 deletions
diff --git a/upstream/fedora-rawhide/man2/flock.2 b/upstream/fedora-rawhide/man2/flock.2
index 1ef6962f..c2c93cad 100644
--- a/upstream/fedora-rawhide/man2/flock.2
+++ b/upstream/fedora-rawhide/man2/flock.2
@@ -12,7 +12,7 @@
.\" FIXME Maybe document LOCK_MAND, LOCK_RW, LOCK_READ, LOCK_WRITE
.\" which only have effect for SAMBA.
.\"
-.TH flock 2 2023-10-31 "Linux man-pages 6.06"
+.TH flock 2 2024-03-03 "Linux man-pages 6.7"
.SH NAME
flock \- apply or remove an advisory lock on an open file
.SH LIBRARY
@@ -22,13 +22,13 @@ Standard C library
.nf
.B #include <sys/file.h>
.P
-.BI "int flock(int " fd ", int " operation );
+.BI "int flock(int " fd ", int " op );
.fi
.SH DESCRIPTION
Apply or remove an advisory lock on the open file specified by
.IR fd .
The argument
-.I operation
+.I op
is one of the following:
.RS 4
.TP 9
@@ -111,7 +111,7 @@ delivery of a signal caught by a handler; see
.BR signal (7).
.TP
.B EINVAL
-.I operation
+.I op
is invalid.
.TP
.B ENOLCK