]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
system_data_types.7: Add va_list
authorAlejandro Colomar <colomar.6.4.3@gmail.com>
Sat, 26 Sep 2020 17:08:14 +0000 (19:08 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 26 Sep 2020 20:12:16 +0000 (22:12 +0200)
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/system_data_types.7

index ae8fb6493813a1574544acd0408322d8a08f5db2..78c683c5a7c3440f1fc8da5c63373f3b5ff20442 100644 (file)
@@ -1116,6 +1116,37 @@ See also:
 .BR getpwnam (2),
 .BR credentials (7)
 .RE
+.\"------------------------------------- va_list ----------------------/
+.TP
+.I va_list
+.RS
+.PP
+Include:
+.IR <stdarg> ;
+or
+.I <stdio.h>
+or
+.IR <wchar.h> .
+.PP
+Used by functions with a varying number of arguments of varying types.
+The function must declare an object of type
+.I va_list
+which is used by the macros
+.BR va_start (3),
+.BR va_arg (3),
+.BR va_copy (3)
+and
+.BR va_end (3)
+to traverse the list of arguments.
+.PP
+Conforming to: C99 and later; POSIX.1-2001 and later.
+.PP
+See also:
+.BR va_start (3),
+.BR va_arg (3),
+.BR va_copy (3),
+.BR va_end (3)
+.RE
 .\"--------------------------------------------------------------------/
 .SH NOTES
 The structures described in this manual page shall contain,