source: CIVL/include/headers/stdarg.h@ 1aaefd4

main test-branch
Last change on this file since 1aaefd4 was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 646 bytes
Line 
1/* The header stdarg.h declares a type and defines four macros, for advancing
2 * through a list of arguments whose number and types are not known to the
3 * called function when it is translated.
4 */
5#ifndef _STDARG_
6#define _STDARG_
7
8/* Types */
9typedef struct {int id;} va_list;
10
11typedef struct {int id;} _va_arg_return_t;
12
13typedef struct {int id;} _va_param;
14
15_va_arg_return_t _va_arg(va_list val);
16
17void _va_start(va_list ap, _va_param ident);
18
19/* Macros */
20#define va_arg(ap, type) ((type)_va_arg(ap))
21
22#define va_start(ap, parmN) _va_start(ap, (_va_param)(parmN))
23
24void va_copy(va_list dest, va_list src);
25
26void va_end(va_list ap);
27
28#endif
Note: See TracBrowser for help on using the repository browser.