Why is tolower behave different???

Henry Spencer henry at zoo.toronto.edu
Wed Jul 25 01:11:16 AEST 1990


In article <1990Jul23.040004.12292 at laguna.ccsf.caltech.edu> bruce at seismo.gps.caltech.edu (Bruce Worden) writes:
>... in the pre-ANSI standard version of K&R, it is not
>quite clear what behavior tolower() should have when the argument
>is already lower case...

The only explicit statement you will find about tolower()'s behavior in
the early days was that given an uppercase letter, it produced the
corresponding lowercase letter.  Its behavior on any other input was
in fact undefined.
-- 
NFS:  all the nice semantics of MSDOS, | Henry Spencer at U of Toronto Zoology
and its performance and security too.  |  henry at zoo.toronto.edu   utzoo!henry



More information about the Comp.lang.c mailing list