I am writing a utility which accepts either a filename, or reads from stdin.
I would like to know the most robust / fastest way of checking to see if stdin exists (d
Just testing for end of file with feof would do, I think.
feof