Wednesday, August 31, 2016

C Library Header – stdarg

<stdarg.h> header allows functions to accept an indefinite number of arguments.

The <stdarg.h> header shall define the following functions:
va_startenables access to variadic function arguments (function macro)
va_argaccesses the next variadic function argument (function macro)
va_copy makes a copy of the variadic function arguments (function macro) (C99)
va_endends traversal of the variadic function arguments (function macro)

The <stdarg.h> header shall define the following type:
va_listholds the information needed by va_start, va_arg, va_end, and va_copy



Related topics:
<setjmp.h>   |   <signal.h>   |   <stdalign.h>   |   <stdatomic.h>   |   <stdbool.h>   |   Standard Library in C

List of topics: C Programming

No comments:

Post a Comment