diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-16 14:11:32 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-16 14:11:32 -0400 |
| commit | 77d0069e522400b63c2182fcc5f852718e4e6f2c (patch) | |
| tree | 6713710011e6e24ebc589d4fa32093e5af329afc /src/stdarg/va_start.h | |
| parent | 896e28812c51b9ffdf3efc00c7d7ef699e380a58 (diff) | |
rename files that should never be compiled on their own to .h
Diffstat (limited to 'src/stdarg/va_start.h')
| -rw-r--r-- | src/stdarg/va_start.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/stdarg/va_start.h b/src/stdarg/va_start.h new file mode 100644 index 00000000..2f08ee9a --- /dev/null +++ b/src/stdarg/va_start.h @@ -0,0 +1,21 @@ +#define va_start(__ap, __parmN) __builtin_va_start(__ap, __parmN) + +/** begin processing unnamed arguments **/ + +/*** +prepares unnamed arguments for use. It initializes ARGUMENT(ap) with the the +first argument after the argument named by ARGUMENT(parmN). The argument named +by ARGUMENT(parmN) must be the final named argument to function (i.e. the +argument just prior to LITERAL(`, ...')). +***/ + +/* +PROTOTYPE(void va_start(va_list ap, VAR(parmN));) + +UNDEFINED(ARGUMENT(parmN) is declared TYPE(register)) +UNDEFINED(ARGUMENT(parmN) is a function pointer) +UNDEFINED(ARGUMENT(parmN) is an array type) +UNDEFINED(ARGUMENT(parmN) is a type not compatible with default argument promotions) + +STDC(1) +*/ |
