🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5680

Re: How to use toupper()

#5680
From: Norman Diamond
Date: Fri, 27 Jan 1989 02:15
23 lines
1447 bytes
In article <9457@smoke.BRL.MIL>, gwyn@smoke.BRL.MIL (Doug Gwyn ) writes:
> >     <ctype.h> macros should be made safe for "signed char"
> >     arguments.
> > The X3J11 response was:
> >     The Committee has voted against this idea.
> >     "char" arguments can always be cast to "unsigned char"
> >     ... the argument *must* be cast to an "unsigned
> >     char" for such implementations.

In article <23261@watmath.waterloo.edu>, rbutterworth@watmath.waterloo.edu (Ray Butterworth) writes:
> i.e. to write portable code, the user must put in lots of casts
> rather than having the library do the messy stuff.

alias cc cc -Dchar="unsigned char"

alias X3J11 X3J10.95

alias inews news + fillers
-- 
Norman Diamond, Sony Computer Science Lab (diamond%csl.sony.jp@relay.cs.net)
  The above opinions are my own.   |  Why are programmers criticized for
  If they're also your opinions,   |  re-inventing the wheel, when car
  you're infringing my copyright.  |  manufacturers are praised for it?
Technical Details
Message-ID: <10021@diamond.csl.sony.JUNET>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!kddlab!titcca!sragwa!wsgw!socslgw!diamond
References: <2537@xyzzy.UUCP> <189@becker.UUCP> <9256@smoke.BRL.MIL> <23261@watmath.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!kddlab!titcca!sragwa!wsgw!socslgw!diamond
From: diamond@csl.sony.JUNET (Norman Diamond)
Newsgroups: comp.std.c
Subject: Re: How to use toupper()
Message-ID: <10021@diamond.csl.sony.JUNET>
Date: 27 Jan 89 02:15:02 GMT
References: <2537@xyzzy.UUCP> <189@becker.UUCP> <9256@smoke.BRL.MIL> <23261@watmath.waterloo.edu>
Organization: Sony Computer Science Laboratory Inc., Tokyo, Japan
Lines: 23