www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/05/14:13:26

Date: Wed, 5 Jul 2000 14:13:05 -0400
Message-Id: <200007051813.OAA20900@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
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> <jmk4ms45rh7sr4la5si05b5ccruaas0eeo AT 4ax DOT com> <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

> 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) ?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019