Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1a 7/7/83; site rlgvax.UUCP Path: utzoo!linus!decvax!harpo!floyd!clyde!ihnp4!zehntel!hplabs!hao!seismo!rlgvax!guy From: guy@rlgvax.UUCP (Guy Harris) Newsgroups: net.lang.c Subject: Re: Question about toupper and tolower Message-ID: <1384@rlgvax.UUCP> Date: Thu, 10-Nov-83 11:24:29 EST Article-I.D.: rlgvax.1384 Posted: Thu Nov 10 11:24:29 1983 Date-Received: Tue, 15-Nov-83 02:48:49 EST References: <1764@fortune.UUCP> <486@ihnp4.UUCP> Organization: CCI Office Systems Group, Reston, VA Lines: 8 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