non-blocking read

edhall%rand-unix at sri-unix.UUCP edhall%rand-unix at sri-unix.UUCP
Wed Feb 15 11:57:00 AEST 1984


From:  Ed_Hall <edhall at rand-unix>

Dup(0) will give you a new kernel file-structure to play with as
well, but doesn't depend upon the terminal being attached to fd 0.
I usually use /dev/tty either only as a last resort, or when I
specifically want to override any file redirection.

		-Ed Hall
		edhall at rand-unix        (ARPA)
		decvax!randvax!edhall   (UUCP)



More information about the Comp.unix mailing list