]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2/fcntl.2: Tweak after making sashimi of this page
authorAlejandro Colomar <alx@kernel.org>
Sat, 19 Jul 2025 22:47:12 +0000 (00:47 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sat, 19 Jul 2025 22:56:33 +0000 (00:56 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/fcntl.2

index d3e9064c0668f162685f8b1cfd3fbb9cfd8ff30c..9a76bdb7b52f9a6f26b03107f3ecc6e6c9f2a8d3 100644 (file)
@@ -12,7 +12,7 @@ Standard C library
 .nf
 .B #include <fcntl.h>
 .P
-.BI "int fcntl(int " fd ", int " op ", ... /* " arg " */ );"
+.BI "int fcntl(int " fd ", int " op ", ...);"
 .fi
 .SH DESCRIPTION
 .BR fcntl ()
@@ -21,20 +21,6 @@ performs one of the operations described below on the open file descriptor
 The operation is determined by
 .IR op .
 .P
-.BR fcntl ()
-can take an optional third argument.
-Whether or not this argument is required is determined by
-.IR op .
-The required argument type is indicated in parentheses after each
-.I op
-name (in most cases, the required type is
-.IR int ,
-and we identify the argument using the name
-.IR arg ),
-or
-.I void
-is specified if the argument is not required.
-.P
 Certain of the operations below are supported only since a particular
 Linux kernel version.
 The preferred method of checking whether the host kernel supports