How do I tell if STDIN is a PIPE?

Kartik Subbarao subbarao at phoenix.Princeton.EDU
Wed May 29 09:56:58 AEST 1991


In article <1991May28.172456.1585 at holos0.uucp> lbr at holos0.uucp (Len Reed) writes:
>In article <1991May26.172328.713 at arizona.edu> jjr at ace.ece.arizona.edu (Jeffrey J. Rodriguez) writes:
>>How do I tell whether stdin is coming from a pipe?
>
>Use isapipe(0).

On which wonderful OS is this system call supported?


		-Kartik


--
internet% whoami

subbarao at phoenix.Princeton.EDU -| Internet
kartik at silvertone.Princeton.EDU (NeXT mail)  
SUBBARAO at PUCC.BITNET			          - Bitnet



More information about the Comp.unix.questions mailing list