va_copy

Is a macro that copies the argument list.

Library:LibC
Classification:Other
Service:General C Services

Syntax

  #include <stdarg.h> 
   
  void va_copy (
    dst,   
    src);
  

Parameters

dst

(IN) Specifies where to copy the argument list.

src

(IN) Specifies the argument list to copy.

Remarks

The va_copy macro saves the state represented in the va_list src to the va_list dst. The va_list passed as dst should not be initialized by a previous call to va_start. The va_list in dst must be passed to va_end before being used as a parameter to va_start or as the dst parameter of a subsequent call to va_copy.

See Also