aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/close.2
diff options
context:
space:
mode:
authorChris Costello <chris@FreeBSD.org>2002-07-03 08:15:55 +0000
committerChris Costello <chris@FreeBSD.org>2002-07-03 08:15:55 +0000
commit00c3b17e1e6219d44e833f9166cba05a2b4e5e2c (patch)
treef7f915c6045af4154373cacb20e25a8c57b133df /lib/libc/sys/close.2
parent32f9f49908ca6464c71d484c4d5ef0ee12cdff0b (diff)
Notes
Diffstat (limited to 'lib/libc/sys/close.2')
-rw-r--r--lib/libc/sys/close.22
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/close.2 b/lib/libc/sys/close.2
index 6a0719147fa68..409d9e20880b9 100644
--- a/lib/libc/sys/close.2
+++ b/lib/libc/sys/close.2
@@ -94,7 +94,7 @@ is attempted, but if some of these descriptors will still
be needed if the execve fails, it is necessary to arrange for them
to be closed if the execve succeeds.
For this reason, the call
-.Dq Li fcntl(d, F_SETFD, 1)
+.Dq Li fcntl(d, F_SETFD, FD_CLOEXEC)
is provided,
which arranges that a descriptor will be closed after a successful
execve; the call