
------------------------------------------------------------------------------
5.2 Get a next argument. <Main,Alarm,Comm>
------------------------------------------------------------------------------
[Name]
va_arg
[Syntax]
#include <stdarg.h>
type va_arg( va_list arg_ptr, type ) ;
[Arguments]
arg_ptr Pointer to the list of arguments.
type Type of an argument to be gotten.
[Return]
Returns an argument pointed by "arg_ptr".
[Description]
Returns a value whose type is "type" in a position pointed by
"arg_ptr", then increments "arg_ptr" to let it point the next
argument in the list. The next argument position is determined by
size of "type". More arguments can be gotten using "arg_ptr"
repeatedly.
This function use the library supplied together with the compiler.
For details, see "How to make application program."