core.stdc.stdarg

D header file for C99.

This module contains bindings to selected types and functions from the standard C header <_stdarg.h>. Note that this is not automatically generated, and may omit some types/functions from the original C header.

Members

Aliases

va_list
alias va_list = char*

The argument pointer type.

va_list
alias va_list = char*

The argument pointer type.

Functions

va_arg
T va_arg(ref va_list ap)

Retrieve and return the next value that is type T. Should use the other va_arg instead, as this won't work for 64 bit code.

va_arg
void va_arg(ref va_list ap, ref T parmn)

Retrieve and return the next value that is type T. This is the preferred version.

va_arg
void va_arg(ref va_list ap, TypeInfo ti, void* parmn)

Retrieve and store through parmn the next value that is of TypeInfo ti. Used when the static type is not known.

va_arg
T va_arg(ref va_list ap)

Retrieve and return the next value that is type T.

va_arg
void va_arg(ref va_list ap, ref T parmn)

Retrieve and return the next value that is type T. This is the preferred version.

va_arg
void va_arg(ref va_list ap, TypeInfo ti, void* parmn)

Retrieve and store through parmn the next value that is of TypeInfo ti. Used when the static type is not known.

va_arg
T va_arg(va_list ap)
va_arg
void va_arg(va_list apx, ref T parmn)
va_arg
void va_arg(va_list apx, TypeInfo ti, void* parmn)
va_copy
void va_copy(out va_list dest, va_list src)
va_copy
void va_copy(out va_list dest, va_list src)
va_copy
void va_copy(out va_list dest, va_list src, void* storage = alloca(__va_list_tag.sizeof))
va_end
void va_end(va_list ap)

End use of ap.

va_end
void va_end(va_list ap)

End use of ap.

va_end
void va_end(va_list ap)
va_start
void va_start(out va_list ap, ref T parmn)

Initialize ap. For 32 bit code, parmn should be the last named parameter. For 64 bit code, parmn should be __va_argsave.

va_start
void va_start(out va_list ap, ref T parmn)

Initialize ap. parmn should be the last named parameter.

va_start
void va_start(out va_list ap, ref T parmn)

Meta

Standards

ISO/IEC 9899:1999 (E)

Authors

Walter Bright, Hauke Duden

Suggestion Box / Bug Report