diff options
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/sys/close.2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/close.2 b/lib/libc/sys/close.2 index 6a0719147fa6..409d9e20880b 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 |
