Subject: Re: some unusual errors
From: [email-masked] (Fergus Henderson)

22 Sep 1998 10:44:52 -0700
Message-ID: <[email-masked]>
References: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
To: [email-masked]
Cc: "J. J. Farrell" <[email-masked]>, Michael Richardson <[email-masked]>,
        [email-masked]

On 21-Sep-1998, David Young <[email-masked]> 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 <[email-masked]>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger [email-masked]        |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".