Can va_arg() be used as an lvalue?

Sandra Loosemore sandra%jensen.utah.edu at cs.utah.edu
Sat Aug 4 01:17:49 AEST 1990


The title says it all: is it legitimate, portable usage to treat
va_arg() as an lvalue?  Specifically, can I take the address of its
return value?  It looks like it will work in the C implementations I
currently have access to, but I'm not sure whether that's a bug or
a feature.

-Sandra Loosemore (sandra at cs.utah.edu)



More information about the Comp.lang.c mailing list