Question about toupper and tolower

Guy Harris guy at rlgvax.UUCP
Fri Nov 11 02:24:29 AEST 1983


In V7, "toupper" and "tolower" are macros which don't work if the argument
isn't an alphabetic in the proper (improper?) case.  In the USG UNIX
releases (System III, System V, etc.) those macros have been renamed "_toupper"
and "_tolower", and "toupper" and "tolower" are routines which work correctly
for all characters passed to them (at least, for all 7-bit ASCII characters).

	Guy Harris
	{seismo,ihnp4,allegra}!rlgvax!guy



More information about the Comp.lang.c mailing list