Wiki Markup |
---|
The variable parameters of a variadic function, this is, those that correspond with the position of the ellipsis, are interpreted by the {{va_arg()}} macro. The {{va_arg()}} macro is used to extract the next argument from an initialized argument list within the body of a variadic function implementation. The size of each parameter is determined by the specified type. If the type is inconsistent with the corresponding argument, the behavior is [undefined|BB. Definitions#undefined behavior] and may result in misinterpreted data or an alignment error \[[EXP36-C. Do not convert between pointers to objects with differing alignments]\]. |
...