aboutsummaryrefslogtreecommitdiffstats
path: root/src/pdclib/include/stdarg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdclib/include/stdarg.h')
-rw-r--r--src/pdclib/include/stdarg.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/pdclib/include/stdarg.h b/src/pdclib/include/stdarg.h
new file mode 100644
index 0000000..84c05d2
--- /dev/null
+++ b/src/pdclib/include/stdarg.h
@@ -0,0 +1,19 @@
+/* Variable arguments <stdarg.h>
+
+ This file is part of the Public Domain C Library (PDCLib).
+ Permission is granted to use, modify, and / or redistribute at will.
+*/
+
+#ifndef _PDCLIB_STDARG_H
+#define _PDCLIB_STDARG_H _PDCLIB_STDARG_H
+
+#include "pdclib/_PDCLIB_config.h"
+
+typedef _PDCLIB_va_list va_list;
+
+#define va_arg( ap, type ) _PDCLIB_va_arg( ap, type )
+#define va_copy( dest, src ) _PDCLIB_va_copy( dest, src )
+#define va_end( ap ) _PDCLIB_va_end( ap )
+#define va_start( ap, parmN ) _PDCLIB_va_start( ap, parmN )
+
+#endif