]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2const/F_{G,S}ETFD.2const: Tweak after split, and add link page
authorAlejandro Colomar <alx@kernel.org>
Sat, 12 Jul 2025 12:50:19 +0000 (14:50 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sat, 19 Jul 2025 21:30:01 +0000 (23:30 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2const/F_GETFD.2const
man/man2const/F_SETFD.2const [new file with mode: 0644]

index 3069645e8baabed3e4541a10a00d243f6e445640..065ba4c00576162e7214982a69b9c61bc332d6df 100644 (file)
@@ -19,7 +19,7 @@ Standard C library
 .BI "int fcntl(int " fd ", F_SETFD, int " arg );
 .fi
 .SH DESCRIPTION
-The following operations manipulate the flags associated with
+These operations manipulate the flags associated with
 a file descriptor.
 Currently, only one such flag is defined:
 .BR FD_CLOEXEC ,
@@ -65,7 +65,7 @@ POSIX.1-2008.
 SVr4, 4.3BSD, POSIX.1-2001.
 .SH CAVEATS
 In multithreaded programs, using
-.BR fcntl ()
+.BR fcntl (2)
 .B F_SETFD
 to set the close-on-exec flag at the same time as another thread performs a
 .BR fork (2)
diff --git a/man/man2const/F_SETFD.2const b/man/man2const/F_SETFD.2const
new file mode 100644 (file)
index 0000000..5a5d1b8
--- /dev/null
@@ -0,0 +1 @@
+.so man2const/F_GETFD.2const