OAR

RTEMS GNU Tools On-Line Library


va_arg-trad

PREV UP NEXT Bookshelf

11.2.3: Extract a value from argument list

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.

Portability
The va_arg defined in `varargs.h' has the same syntax and usage as the ANSI C version from `stdarg.h'.


PREV UP NEXT Bookshelf

Packaging copyright © 1988-2000 OAR Corporation
Context copyright by each document's author. See Free Software Foundation for information.