... C builtin functions?
dave at ur-helheim.UUCP
dave at ur-helheim.UUCP
Thu Apr 17 03:36:45 AEST 1986
In article <359 at uvacs.UUCP> rwl at 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
More information about the Comp.lang.c
mailing list