[PATCH 1/2] system_data_types.7: Add va_list

Alejandro Colomar colomar.6.4.3@gmail.com
Sat Sep 26 17:08:14 GMT 2020


Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
---
 man7/system_data_types.7 | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index ae8fb6493..361e8d411 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -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,
-- 
2.28.0



More information about the Libc-alpha mailing list