Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site wucs.UUCP
Path: utzoo!watmath!clyde!floyd!harpo!ihnp4!afinitc!wucs!kurt
From: kurt@wucs.UUCP (Kurt Haserodt)
Newsgroups: net.unix-wizards
Subject: Re: Ctype.h
Message-ID: <134@wucs.UUCP>
Date: Thu, 15-Mar-84 19:00:10 EST
Article-I.D.: wucs.134
Posted: Thu Mar 15 19:00:10 1984
Date-Received: Fri, 16-Mar-84 03:05:47 EST
References: <133@wucs.UUCP>
Organization: Wash. Univ. in St. Louis, CS Dept.
Lines: 10


	Why does ctype have 0 as the first element, and all the ctype
	functions add 1 to get the proper index?


This is so EOF can be characterized (no pun intended) by the ctype
macros.  As you recall EOF is (many times) defined to be -1.