summaryrefslogtreecommitdiff
path: root/src/stdarg/va_copy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdarg/va_copy.h')
-rw-r--r--src/stdarg/va_copy.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/stdarg/va_copy.h b/src/stdarg/va_copy.h
new file mode 100644
index 00000000..ad49c5c9
--- /dev/null
+++ b/src/stdarg/va_copy.h
@@ -0,0 +1,16 @@
+#include <stdarg.h>
+
+/** copy a va_list **/
+
+#define va_copy(__dest, __src) __builtin_va_copy(__dest, __src)
+
+/***
+copies the TYPE(va_list) ARGUMENT(src) to ARGUMENT(dest), including the current
+state of the list.
+***/
+
+/*
+PROTOTYPE(void va_copy(va_list dest, va_list src);)
+
+STDC(199901)
+*/