Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.lang.c Subject: Re: Why 'void *' is useful Message-ID: <4073@utzoo.UUCP> Date: Fri, 13-Jul-84 13:25:15 EDT Article-I.D.: utzoo.4073 Posted: Fri Jul 13 13:25:15 1984 Date-Received: Fri, 13-Jul-84 13:25:15 EDT References: <274@lvbull.UUCP> <8260@watmath.UUCP>, <7828@umcp-cs.UUCP> Organization: U of Toronto Zoology Lines: 11 The trouble with using "caddr_t" to do the "void *" job is that "caddr_t" is just a human convenience. Depending on how you do it, "caddr_t" is either a #defined symbol or a typedef; neither is any more than an abbreviation for some other type. Strict type checking will expand the abbreviation and then complain about the expansion. I suppose one could make "caddr_t" a magic keyword, but using "void *" is simpler and doesn't introduce a new keyword. -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry