Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!iuvax!pur-ee!uiucdcs!snail!carroll From: carroll@snail.CS.UIUC.EDU Newsgroups: comp.lang.c Subject: signed chars Message-ID: <10700010@snail> Date: 8 Dec 87 16:14:00 GMT Lines: 16 Nf-ID: #N:snail:10700010:000:721 Nf-From: snail.CS.UIUC.EDU!carroll Dec 8 10:14:00 1987 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. I have not been able to find any way in C to tell the compiler to use the characters as signed. I know that the hardware can support them, but is there any generic way to force things to be signed? K&R has the "unsigned" reserved word, but "signed" is not. Any help would be appreciated. We are running SysVR3 on AT&T 3b2's, standard C. Alan M. Carroll amc@woodshop.cs.uiuc.edu carroll@s.cs.uiuc.edu ...{ihnp4,convex}!uiucdcs!woodshop!amc Quote of the day : "I've consulted all the sages I could find in Yellow Pages, but there aren't many of them" - AP & EW