Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Downloads
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Calendar
  - Forums
  - IRC
  - Community Discord
  - Wiki
  - GitHub
  - Issues
  - Get involved
  - Contributors
  - Foundation
  - Security Team
  - Donate
  - Sponsors
- Resources
  - Tour
  - Books
  - Tutorials
  - Tools
  - Editors
  - IDEs
  - run.dlang.io
  - Visual D
  - Acknowledgments
  - D Style
  - Glossary
  - Sitemap

Search
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 a local clone.

# 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.
License:
Boost License 1.0.
Authors:
Walter Bright, Hauke Duden
Standards:
ISO/IEC 9899:1999 (E)

Source core/stdc/stdarg.d

alias `va_list` = __va_list_tag*;
  The argument pointer type.
public import core.internal.vararg.sysv_x64 : `__va_list`, `__va_list_tag`;
  The argument pointer type.
void `va_start`(T)(out va_list `ap`, ref T `parmn`);
  Initialize ap. parmn should be the last named parameter.
T `va_arg`(T)(ref va_list `ap`);
  Retrieve and return the next value that is of type T.
void `va_arg`(T)(ref va_list `ap`, ref T `parmn`);
  Retrieve and store in parmn the next value that is of type T.
nothrow @nogc @system void `va_end`(va_list `ap`);
  End use of ap.
nothrow @nogc @system void `va_copy`(out va_list `dest`, va_list `src`, void* `storage` = alloca(__va_list_tag.sizeof));
  Make a copy of ap.

Copyright © 1999-2020 by the D Language Foundation | Page generated by Ddoc on Tue Sep 22 09:13:18 2020