diff mbox series

[1/2] system_data_types.7: Add va_list

Message ID 20200926170814.2121307-1-colomar.6.4.3@gmail.com
State Not Applicable
Headers show
Series [1/2] system_data_types.7: Add va_list | expand

Commit Message

Alejandro Colomar Sept. 26, 2020, 5:08 p.m. UTC
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
---
 man7/system_data_types.7 | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Comments

Michael Kerrisk \(man-pages\) Sept. 26, 2020, 8:13 p.m. UTC | #1
On 9/26/20 7:08 PM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
> ---
>  man7/system_data_types.7 | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)

Thanks, Alex. Patch applied.

Cheers,

Michael

> 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,
>
diff mbox series

Patch

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,