Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!occrsh!jal
From: jal@occrsh.ATT.COM (J_Allen_Schones)
Newsgroups: comp.lang.c
Subject: Re: signed chars
Summary: use short ints
Keywords: signed chars, short ints
Message-ID: <249@occrsh.ATT.COM>
Date: 11 Dec 87 19:22:59 GMT
References: <10700010@snail>
Reply-To: jal@occrsh.UUCP (J_Allen_Schones)
Organization: AT&T Network & Data Systems, OKC
Lines: 26

In article <10700010@snail> carroll@snail.CS.UIUC.EDU writes:
>
>	I'm having some problems with code that need signed characters (it's
>originally from a vax). Unfortunately, the machine I am on has unsigned
>characters. 
[ A few lines deleted to keep inews happy ]
>
>	We are running SysVR3 on AT&T 3b2's, standard C.
>

As far as I can tell, there is no way to support signed chars on the 3BXX*
line of computers.  I use short ints when a signed chars is needed, but then
you must check the source to make sure that the program doesn't depend upon
the allowable range of chars.


I      F
 N      I
  E      L
   W      L
    S      E
            R-- 
J. Allen Schones -- AT&T Technologies -- Oklahoma City Works
 PHONE: (405) 491-4950
  UUCP: ihnp4!occrsh!jal
DOMAIN: jal@occrsh.ATT.COM