From: aldavi01@starbase.spd.louisville.edu (Arlie Davis) Subject: Re: ctype.h isn't ANSI compliant Date: 24 Jan 1992 11:16:40 GMT
In <1992Jan24.080314.9803@daffy.cs.wisc.edu> quale@saavik.cs.wisc.edu (Douglas E. Quale) writes:
>According to ANSI C and POSIX, the definitions in ctype.h should be
>functions, not macros.
Incorrect. The ANSI standard allows any standard library functions to be
defined as macros, *provided* that there is a fall-back "real" function that
can be accessed by #undef'ing the symbol.
<ctype.h> is ANSI compliant, in this sense, if there is also an underlying
set of real functions, in addition to the macros.
--
Arlie Davis
aldavi01@{starbase,vulcan,romulus,draconis,sirius,rigel}.spd.louisvile.edu
"Hal, do you read me, Hal? Open the pod bay doors, Hal."
|grep ooga-booga >>~/.signature # Yes, this is the One True .signature Virus!