Subject: Re: some unusual errors
From: DJ Delorie <[email-masked]>

21 Sep 1998 22:08:03 -0400
Message-ID: <[email-masked]>
References: <[email-masked]> <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; IRIX 5.3 IP22)

> Doesn't the ANSI isspace() prototype
> definition take type char ?

According to my ANSI spec quick reference, all the is*()
functions, including isspace(), take an int and return
an int.  In fact, it specifically states that
in the intro, and says that legal values are EOF
or the range of type `unsigned char'.  It also states
that thus these functions take values as returned
by, say, fgetc(), which returns EOF or 0..255 as
an `int'.