[comp.lang.c] Writing to Standard Input

tanner@ki4pv.uucp (Dr. T. Andrews) (12/12/87)

In article <10699@brl-adm.ARPA>, LEYON_C%DICKINSN.BITNET@CUNYVM.CUNY.EDU (Leyon, Chris) writes:
) [quote from K&P describing opening of /dev/tty for read/write & using
)  dup(2) to form stdin, stdout]  ... concluding:
)	 Therefore, your standard input is writable

This, of course, is not true if you are using pipes or re-direction.
-- 
{allegra clyde!codas decvax!ucf-cs ihnp4!codas killer}!ki4pv!tanner