Commit 667e5b6
committed
Clarify mkstemp() fd inheritance is specific to exec() calls
The original documentation stated 'The file descriptor is not inherited
by child processes' without clarifying that this only applies to exec()
calls due to O_CLOEXEC (set via PEP 446). The fd is still inherited
and usable after fork() before exec().
Update documentation to specifically mention exec() calls for accuracy1 parent 220c5d0 commit 667e5b6
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
| 231 | + | |
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
| |||
0 commit comments