This macro should be executed before the function returns whenever va_start has been previously used in that function.
Parameters
Return Value
noneExample
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
The PrintLines function takes a variable number or arguments. The first argument passed becomes parameter first, but the remaining are retrieved sequentially in the do-while loop using va_arg until a null pointer is retrieved as the next argument.
See also
| va_start | Initialize a variable argument list (macro) |
| va_arg | Retrieve next argument (macro) |
| va_list | Type to hold information about variable arguments (type) |
