isatty() and ttyname() addendum
David J. Camp
david at wubios.wustl.edu
Tue Feb 21 15:38:15 AEST 1989
I forgot to mention in my previous note the symptoms of isatty(stdin) when
it fails. It always returns 0. I also tried using ttyname(stdin), but it
always returns NULL. -David-
--
Bitnet: david at wubios.wustl ^ Mr. David J. Camp
Internet: david%wubios at wucs1.wustl.edu < * > Box 8067, Biostatistics
uucp: uunet!wucs1!wubios!david v 660 South Euclid
Washington University Medical School Saint Louis, MO 63110
More information about the Comp.unix.questions
mailing list