delorie.com/archives/browse.cgi | search |
From: | DJ Delorie <dj AT delorie DOT com> |
Subject: | Re: some unusual errors |
21 Sep 1998 22:08:03 -0400 : | |
Message-ID: | <36070683.167E@delorie.com> |
References: | <199809210056 DOT RAA27963 AT aleph DOT ssd DOT hal DOT com> <9809211418 DOT AA12875 DOT cygnus DOT gnu-win32 AT vviuh221 DOT vvi DOT com> |
Mime-Version: | 1.0 |
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'.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |