Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site uvacs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!mcnc!ncsu!uvacs!rwl From: rwl@uvacs.UUCP (Ray Lubinsky) Newsgroups: net.lang,net.lang.c Subject: Re: Re: ... C builtin functions? Message-ID: <359@uvacs.UUCP> Date: Sun, 13-Apr-86 11:52:04 EST Article-I.D.: uvacs.359 Posted: Sun Apr 13 11:52:04 1986 Date-Received: Wed, 16-Apr-86 04:58:07 EST References: <41@cbmvax.cbmvax.cbm.UUCP> <824@ttrdc.UUCP> <202@chronon.UUCP> Organization: U.Va. CS in Charlottesville VA Lines: 15 Xref: watmath net.lang:2355 net.lang.c:8568 > >C has standard built-in functions???? > Well, how about sizeof(foo)? > > 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 UUCP: ...!cbosgd!uvacs!rwl or ...!decvax!mcnc!ncsu!uvacs!rwl