From: DJ Delorie <dj@delorie.com>
Subject: Re: some unusual errors
21 Sep 1998 22:08:03 -0400
Message-ID: <36070683.167E@delorie.com>
References: <199809210056.RAA27963@aleph.ssd.hal.com> <9809211418.AA12875.cygnus.gnu-win32@vviuh221.vvi.com>
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'.
