Defined in header <stdarg.h> void va_copy( va_list dest, va_list src ); (since C99)
The va_copy macro copies src to dest.
va_end should be called on dest before the function returns or any subsequent re-initialization of dest (via calls to va_start or va_copy).
Parameters
dest - an instance of the va_list type to initialize src - the source va_list that will be used to initialize dest
Expanded value
(none).
Example
#include <stdio.h>
#include