And if fd 1 is reused for something, that something becomes, by definition, stdout.
Re:Constant Time
by jandrewrogers on Monday June 10, 2019 @10:38PM
(#20152662)
This. I've worked on code bases that intentionally closed stdout.
No: if you close a file descriptor, the kernel should be able to reuse it for new files that you open.