The most complete description of va_copy status that I've come across is at
http://www.unixpapa.com/incnote/variadic.html
Another relevant comment is:
-----
va_copy
The C99 standard provides va_copy for copying va_list variables.
It may be available in older environments too, though possibly as
__va_copy (e.g., gcc in strict pre-C99 mode). These can be tested with
#ifdef. A fallback to memcpy (&dst, &src, sizeof (va_list)) gives
maximum portability.
va_list
va_list is not necessarily just a pointer. It can be a struct
(e.g., gcc on Alpha), which means NULL is not portable. Or it can be
an array (e.g., gcc in some PowerPC configurations), which means as a
function parameter it can be effectively call-by-reference and library
routines might modify the value back in the caller (e.g., vsnprintf in
the GNU C Library 2.1).
-----
(from Gnu "autoconf" documentation - 5.5.1 Portability of C Functions)
dave
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders