... C builtin functions?

Ray Lubinsky rwl at uvacs.UUCP
Mon Apr 14 02:52:04 AEST 1986


> >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



More information about the Comp.lang.c mailing list