Xref: utzoo comp.lang.c:27302 comp.sys.ibm.pc.programmer:621 Path: utzoo!attcan!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!brutus.cs.uiuc.edu!psuvax1!rutgers!att!tsdiag!jeffs From: jeffs@tsdiag.ccur.com (Jeff Schnell) Newsgroups: comp.lang.c,comp.sys.ibm.pc.programmer Subject: How to tell if stdin/stdout is redirected? Message-ID: <807@tsdiag.ccur.com> Date: 27 Mar 90 19:21:15 GMT Organization: CONCURRENT,ENG. SERVICES,OCEANPORT NJ Lines: 11 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@tsdiag.ccur.com