Wednesday, November 30, 2016

C Variable argument list access Functions

Variable argument list access Functions:
ap - an instance of the va_list type
parmN - the named parameter preceding the first variable parameter
type - the type of the next parameter in ap
dest - an instance of the va_list type to initialize
src - the source va_list that will be used to initialize dest

va_start void va_start(va_list ap, parmN);
va_arg type va_arg(va_list ap, type);
va_copy(C99) void va_copy(va_list dest, va_list src);
va_end void va_end(va_list ap);

stdarg.h
Variable argument list access Functions


Related topics:
Library Functions in C   |   Standard Library in C   |   Header Files in C   |   Functions in C   |   Keywords in C   |   Data Types in C   |   Pointers in C

List of topics: C Programming

No comments:

Post a Comment