summaryrefslogtreecommitdiff
path: root/src/stdarg/va_copy.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-03-02 12:09:26 -0500
committerJakob Kaivo <jkk@ung.org>2019-03-02 12:09:26 -0500
commit479579f2234cf20c158c505e288e318d79baefa9 (patch)
tree5a13988dd3480ce7fba3ae76422cda6602608c78 /src/stdarg/va_copy.c
parentbf1a4a5a88fbbb21dec716896eff8319f2997ce7 (diff)
update documentation
Diffstat (limited to 'src/stdarg/va_copy.c')
-rw-r--r--src/stdarg/va_copy.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/stdarg/va_copy.c b/src/stdarg/va_copy.c
index 27c13dc8..d9222ff4 100644
--- a/src/stdarg/va_copy.c
+++ b/src/stdarg/va_copy.c
@@ -1,6 +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)
*/