From: Alejandro Colomar Date: Sat, 19 Jul 2025 22:47:12 +0000 (+0200) Subject: man/man2/fcntl.2: Tweak after making sashimi of this page X-Git-Tag: man-pages-6.15~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b42140730ee52191a58addcfe857537bbb73bc13;p=thirdparty%2Fman-pages.git man/man2/fcntl.2: Tweak after making sashimi of this page Signed-off-by: Alejandro Colomar --- diff --git a/man/man2/fcntl.2 b/man/man2/fcntl.2 index d3e9064c0..9a76bdb7b 100644 --- a/man/man2/fcntl.2 +++ b/man/man2/fcntl.2 @@ -12,7 +12,7 @@ Standard C library .nf .B #include .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