Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!oddjob!gargoyle!ihnp4!cbosgd!osu-cis!bgsuvax!denbeste From: denbeste@bgsuvax.UUCP (William C. DenBesten) Newsgroups: comp.lang.c Subject: Re: Does ANSI C have lengthof() ? Message-ID: <1281@bgsuvax.UUCP> Date: Wed, 9-Sep-87 09:18:31 EDT Article-I.D.: bgsuvax.1281 Posted: Wed Sep 9 09:18:31 1987 Date-Received: Sat, 12-Sep-87 09:49:02 EDT References: <1059@haddock.ISC.COM> Organization: Bowling Green State University B.G., Oh. Lines: 17 in article <1059@haddock.ISC.COM>, karl@haddock.ISC.COM (Karl Heuer) says: >>I think there is more need for these functions in the pre-processor: >> # if sizeof (char*) == sizeof (int) > Such a preprocessor ought to be able to > handle any "sizeof(TYPE)" expression, and I'd be willing to do without > "sizeof(EXPR)". I would even be willing to do without TYPEs defined with typedef. All that I need (now :-) is the built ins (int, char*, long, char, etc). --- William C. DenBesten | CSNET denbeste@research1.bgsu.edu Dept of Computer Science | UUCP ...!cbosgd!osu-cis!bgsuvax!denbeste Bowling Green State University | Bowling Green, OH 43403-0214 |