Varargs, portability

Andrew Koenig ark at alice.UucP
Tue Jun 3 01:36:46 AEST 1986


> This is, of course, not a hardware restriction but instead is a
> software implementation restriction.

Yes and no.  Most C compilers on the VAX use the built-in subroutine
instructions for C subroutines.  These instructions limit the argument
list to 255 words.  That is indeed a hardware limitation.

Now, you may wish to consider it as an implementation restriction that
the compiler does not use some other method of dealing with big argument
lists.  Indeed, you may be right.  My original point, though, was that
the problem arose because of a hardware restriction.



More information about the Comp.lang.c mailing list