aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2026-05-22 04:01:20 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2026-05-24 17:02:06 +0000
commitdb513f3a55d59339055e6033829964738b879501 (patch)
tree275929a0734513315866eb5526f7258313652b5c
parentd2c21935e8666f5e9a38e27701445f5acc82465d (diff)
fcntl.2: clarify arg use for F_SETFD
Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential revision: https://reviews.freebsd.org/D57162
-rw-r--r--lib/libsys/fcntl.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libsys/fcntl.2 b/lib/libsys/fcntl.2
index d67c38cfbc6c..b919e1b8674b 100644
--- a/lib/libsys/fcntl.2
+++ b/lib/libsys/fcntl.2
@@ -176,7 +176,9 @@ descriptor to also have the flag set.
.El
.It Dv F_SETFD
Set flags associated with
-.Fa fd .
+.Fa fd
+to
+.Fa arg .
The available flags are
.Dv FD_CLOEXEC ,
.Dv FD_CLOFORK