delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/22/10:44:52

From: fjh AT cs DOT mu DOT OZ DOT AU (Fergus Henderson)
Subject: Re: some unusual errors
22 Sep 1998 10:44:52 -0700 :
Message-ID: <19980922150642.32947.cygnus.gnu-win32@murlibobo.cs.mu.OZ.AU>
References: <199809210056 DOT RAA27963 AT aleph DOT ssd DOT hal DOT com>
Mime-Version: 1.0
To: dyoung AT vviuh221 DOT vvi DOT com
Cc: "J. J. Farrell" <jjf AT hal DOT com>, Michael Richardson <mcr AT solidum DOT com>,
gnu-win32 AT cygnus DOT com

On 21-Sep-1998, David Young <dyoung AT vviuh221 DOT vvi DOT com> wrote:
> > isspace() takes an int whose value must be in the range 0 to
> > ...
> > it should be casting the parameter to int so it will ...
> 
> ACK!
> 
> Doesn't the ANSI isspace() prototype definition take type char ?

No, I'm afraid not.  It takes an int, which should be either
an unsigned char cast to int, or EOF.

-- 
Fergus Henderson <fjh AT cs DOT mu DOT oz DOT au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh AT 128 DOT 250 DOT 37 DOT 3        |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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