Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!houxm!whuxl!whuxlm!akgua!gatech!seismo!rochester!ur-helheim!dave From: dave@ur-helheim.UUCP Newsgroups: net.lang,net.lang.c Subject: Re: Re: ... C builtin functions? Message-ID: <601@ur-helheim.UUCP> Date: Wed, 16-Apr-86 12:36:45 EST Article-I.D.: ur-helhe.601 Posted: Wed Apr 16 12:36:45 1986 Date-Received: Sat, 19-Apr-86 08:16:15 EST References: <41@cbmvax.cbmvax.cbm.UUCP> <824@ttrdc.UUCP> <202@chronon.UUCP> <359@uvacs.UUCP> Reply-To: dave@helheim.UUCP (Raver Dave) Organization: U. of Rochester, EE Dept. Lines: 27 Xref: watmath net.lang:2368 net.lang.c:8614 In article <359@uvacs.UUCP> rwl@uvacs.UUCP (Ray Lubinsky) writes: >> >C has standard built-in functions???? >> >> It looks like a function invocation, and is known and understood >> by the compiler... > >The thing is, sizeof() evaluates to a constant *at run time*, just like >'c'<<3 or BUFSIZ . That makes it a pretty trivial function. All it >really does is give you a portable, automatic facility for referring to >system dependencies. > >Ray Lubinsky University of Virginia, Dept. of Computer Science < * italics mine * > sizeof and BUFSIZ and a good implementation of 'c' << 3 resolve to constants at *compile time*. No run time *evaluation* is necessary. -- "The Faster I Go the Behinder I Get" --Lewis Carroll Dave Carlson {allegra,seismo,decvax}!rochester!ur-valhalla!dave