How do you tell if stdin/stdout is a terminal?

Andrew Hume andrew at alice.UUCP
Wed Aug 15 15:23:55 AEST 1990



	i am admittedly feeling ornery tonight but anyone asking am
i connected to a terminal is probably asking the wrong question.
isatty is pretty unreliable over network connections.
(unreliable in that typically it always says no for network
connections regardless of teh state on the far side.)



More information about the Comp.lang.c mailing list