Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site allegra.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!alan From: alan@allegra.UUCP (Alan S. Driscoll) Newsgroups: net.unix-wizards Subject: Re: getc() != EOF Message-ID: <2499@allegra.UUCP> Date: Wed, 30-May-84 15:05:43 EDT Article-I.D.: allegra.2499 Posted: Wed May 30 15:05:43 1984 Date-Received: Sat, 2-Jun-84 07:17:40 EDT References: <30@utastro.UUCP>, <307@basser.SUN> Organization: AT&T Bell Laboratories, Murray Hill Lines: 14 > ... Char variables are promoted to int in expressions (see C manual) > and a char -1 is IDENTICAL with an int -1. Unsigned char c could be > different... "Whether or not sign-extension occurs for characters is machine dependent, but it is guaranteed that a member of the standard character set is non-negative." -- C Reference Manual, September 1980 -- Alan S. Driscoll AT&T Bell Laboratories