In particular, Windows 2000, NT and 7 - can we rely on fileno(*STDOUT) always being 1?
Yes. It is a standard C thing, not OS dependant.
In reply to Re^3: Testing whether a file handle is attached to STDOUT
by BrowserUk
in thread Testing whether a file handle is attached to STDOUT
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |