Contents|Index|Previous|Next

va_dcl
[declare variable arguments]

    SYNOPSIS
    #include <varargs.h>
    function(va_alist)
    va_dcl

DESCRIPTION
To use the varargs.h version of variable argument lists, you must declare your function with a call to the macro, va_list, as its argument list, and use va_dcl as the declaration.

WARNING:
Do not use a semicolon after va_dcl.

RETURNS
These macros cannot be used in a context where a return is syntactically possible.

COMPLIANCE
va_alist and va_dcl were the most widespread method of declaring variable argument lists prior to ANSI C.