Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site pur-ee.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!pasm From: pasm@pur-ee.UUCP (PASM Parallel Processing Laboratory) Newsgroups: net.lang,net.lang.c Subject: Re: structured assembler (BASIC) [Really: C builtin functions?] Message-ID: <4017@pur-ee.UUCP> Date: Thu, 10-Apr-86 22:55:10 EST Article-I.D.: pur-ee.4017 Posted: Thu Apr 10 22:55:10 1986 Date-Received: Sat, 19-Apr-86 03:58:39 EST References: <443@3comvax.UUCP> <7900003@ztivax.UUCP> Reply-To: kuehn@pur-ee.UUCP (PASM Parallel Processing Laboratory) Organization: Electrical Engineering Department , Purdue University Lines: 21 Xref: watmath net.lang:2365 net.lang.c:8609 >>C has standard built-in functions???? >> >>Gee, that's a new one on me. EVERY function called from C is an external func- >>tion, or at least it was when C began. > >You are sort of right, but sizeof qualifies as a builtin function, >even though it is a compile-time function vs run-time. Anyone disagree? Yep, I disagree: sizeof is an OPERATOR. See K&R p. 49. You might write something like: sizeof(int) which LOOKS like a function call to the uninitiated, but you can just as correctly write: sizeof int What the heck is a compile-time function? Real useful - functions that return constants. Come on now. (Jim Kuehn; kuehn@ed.purdue.edu; ...ihnp4!pur-ee!kuehn) --jk