View source code
Display the source code in core/stdc/stdarg.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Module 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.

Standards

ISO/IEC 9899:1999 (E)

Functions

NameDescription
va_arg(ap)
va_arg(apx, parmn)
va_arg(apx, ti, parmn)
va_arg(ap)
va_arg(apx, parmn)
va_arg(apx, ti, parmn)
va_arg(ap) Retrieve and return the next value that is type T.
va_arg(ap, parmn) Retrieve and return the next value that is type T. This is the preferred version.
va_arg(ap, ti, parmn) Retrieve and store through parmn the next value that is of TypeInfo ti. Used when the static type is not known.
va_arg(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(ap, parmn) Retrieve and return the next value that is type T. This is the preferred version.
va_arg(ap, ti, parmn) Retrieve and store through parmn the next value that is of TypeInfo ti. Used when the static type is not known.
va_copy(dest, src, storage)
va_copy(dest, src)
va_copy(dest, src)
va_end(ap)
va_end(ap) End use of ap.
va_end(ap) End use of ap.
va_start(ap, parmn)
va_start(ap, parmn)
va_start(ap, parmn) Initialize ap. parmn should be the last named parameter.
va_start(ap, parmn) Initialize ap. For 32 bit code, parmn should be the last named parameter. For 64 bit code, parmn should be _va_argsave.

Aliases

NameTypeDescription
va_list char* The argument pointer type.
va_list char* The argument pointer type.

Authors

Walter Bright, Hauke Duden

License

Boost License 1.0.