How to tell if stdin/stdout is redirected?

Jeff Schnell jeffs at tsdiag.ccur.com
Wed Mar 28 05:21:15 AEST 1990


I would like to know if there is a way to tell if stdin/stdout
is redirected.  I would like it in Turbo C and/or Microsoft C
and also in unix.

Thanks
Jeffs
-- 
Jeffrey J. Schnell   System Support Eng.      | Concurrent Computer Corp.
FAX:  201-870-4249   Ph: (201) 870-4120       | 2 Crescent Place, M/S 117
UUCP: rutgers!petsd!tsdiag!jeffs              | Oceanport NJ, 07757
INTERNET: jeffs at tsdiag.ccur.com



More information about the Comp.lang.c mailing list