-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Description
Location
library/std/src/lib.rs, module-level rustdoc
- before-main stdio file descriptors are not guaranteed to be open on unix platforms
Summary
What does this mean? I'm assuming this was supposed to be "before main, " since file descriptors are a property of the process at all times, but even then... this implies that fd0/1/2 may be... closed? between exec returning and the runtime calling main? and then become open somehow? on main entry? I don't believe there to be any UNIX system ever in history where this is true?
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.