Xref: utzoo comp.unix.questions:15904 comp.lang.c:21127 Path: utzoo!attcan!uunet!cs.utexas.edu!csd4.csd.uwm.edu!mailrus!iuvax!purdue!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.unix.questions,comp.lang.c Subject: Re: moving upper case names to lower case -- Followups to comp.unix.questions Message-ID: <10809@smoke.BRL.MIL> Date: 24 Aug 89 17:57:31 GMT References: <20672@adm.BRL.MIL> <9326@chinet.chi.il.us> <2336@oakhill.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 9 In article cline@sun.soe.clarkson.edu (Marshall Cline) writes: >In article <2336@oakhill.UUCP> stevenw@oakhill.UUCP (Steven Weintraub) writes: >>I should point out there is a risk in using tolower like this. Some >>machines define tolower as ((c)-'A'+'a') (like some sun systems). >The Gould UTX systems also do this ------------------ Basically, it's that way in BSD environments (evolved from 7th Ed. UNIX). Both SunOS and UTX/32 have System V environments available, in which tolower() behaves the way required by the C standard.