Extract a value from argument list
Synopsis
Section titled “Synopsis”#include <varargs.h>type va_arg(va_list ap, type);```### Description
va_arg returns the next unprocessed value from a variable argument list ap (which you must previously create with va_start). Specify the type for the value as the second parameter to the macro, type.### Returns
va_arg returns the next argument, an object of type type.
---
**Authoritative source**: BUSMASTER DITA help source `va_arg.dita`, compiled into `BUSMASTER.CHM` with the application.