Date: Wed, 5 Jul 2000 14:13:05 -0400 Message-Id: <200007051813.OAA20900@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <3962e704.1850632@news.freeserve.net> (dontmailme@iname.com) Subject: Re: Newbie question about strings in C .. References: <396119a7 DOT 31315113 AT news> <396230e0 DOT 2867154 AT news DOT wins DOT uva DOT nl> <3962e704 DOT 1850632 AT news DOT freeserve DOT net> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > There isn't even a standard way to check that stdin isn't coming > from a file. What's wrong with fstat(fileno(stdin), &s) ?