Include the va_end!

Andrew Koenig ark at alice.UucP
Sat May 3 05:04:25 AEST 1986


> The implementation is on the Pyramid 90x machine, the System V
> part of it (it runs both 4.2 and System V at the same time!), 
> where va_end is defined to be an '}'.

That implementation is simply wrong.  va_end is intended to be
executed (to free memory possibly acquired by va_start).  It
is **not** intended to be a syntactic entity.



More information about the Comp.lang.c mailing list