Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/v/va_copy.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/v/va_copy.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/v/va_copy.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/v/va_copy.html on line 8

va_copy()

Make a copy of a variable argument list

Synopsis:

#include <stdarg.h>

void va_copy( va_list d, 
              va_list s );

Arguments:

d
A va_list object into which you want to copy the list.
s
The va_list object that you initialized with the va_start() macro and that you want to copy.

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The va_copy() macro creates a copy of a list of variable arguments.

You can use the va_copy() macro with the associated macros va_arg(), va_start(), and va_end(), especially to avoid problems on some platforms. For more information, see Varargs and coercion in the documentation for va_arg().

Examples:

See va_arg().

Classification:

POSIX 1003.1

Safety:
Cancellation point No
Interrupt handler Yes
Signal handler Yes
Thread Yes

Caveats:

va_copy() is a macro.

See also:

va_arg(), va_end(), va_start()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/v/va_copy.html on line 129

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/v/va_copy.html on line 129