linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] system_data_types.7: Add va_list
@ 2020-09-26 17:08 Alejandro Colomar
  2020-09-26 17:08 ` [PATCH 2/2] va_list.3: New link to system_data_types(7) Alejandro Colomar
  2020-09-26 20:13 ` [PATCH 1/2] system_data_types.7: Add va_list Michael Kerrisk (man-pages)
  0 siblings, 2 replies; 4+ messages in thread
From: Alejandro Colomar @ 2020-09-26 17:08 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man, libc-alpha, Alejandro Colomar

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] va_list.3: New link to system_data_types(7)
  2020-09-26 17:08 [PATCH 1/2] system_data_types.7: Add va_list Alejandro Colomar
@ 2020-09-26 17:08 ` Alejandro Colomar
  2020-09-26 20:13   ` Michael Kerrisk (man-pages)
  2020-09-26 20:13 ` [PATCH 1/2] system_data_types.7: Add va_list Michael Kerrisk (man-pages)
  1 sibling, 1 reply; 4+ messages in thread
From: Alejandro Colomar @ 2020-09-26 17:08 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man, libc-alpha, Alejandro Colomar

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
---
 man3/va_list.3 | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 man3/va_list.3

diff --git a/man3/va_list.3 b/man3/va_list.3
new file mode 100644
index 000000000..db50c0f09
--- /dev/null
+++ b/man3/va_list.3
@@ -0,0 +1 @@
+.so man7/system_data_types.7
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] system_data_types.7: Add va_list
  2020-09-26 17:08 [PATCH 1/2] system_data_types.7: Add va_list Alejandro Colomar
  2020-09-26 17:08 ` [PATCH 2/2] va_list.3: New link to system_data_types(7) Alejandro Colomar
@ 2020-09-26 20:13 ` Michael Kerrisk (man-pages)
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-09-26 20:13 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: mtk.manpages, linux-man, libc-alpha

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,
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] va_list.3: New link to system_data_types(7)
  2020-09-26 17:08 ` [PATCH 2/2] va_list.3: New link to system_data_types(7) Alejandro Colomar
@ 2020-09-26 20:13   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-09-26 20:13 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: mtk.manpages, linux-man, libc-alpha

On 9/26/20 7:08 PM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>

Thanks, Alex. Patch applied.

Cheers,

Michael


> ---
>  man3/va_list.3 | 1 +
>  1 file changed, 1 insertion(+)
>  create mode 100644 man3/va_list.3
> 
> diff --git a/man3/va_list.3 b/man3/va_list.3
> new file mode 100644
> index 000000000..db50c0f09
> --- /dev/null
> +++ b/man3/va_list.3
> @@ -0,0 +1 @@
> +.so man7/system_data_types.7
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-26 20:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-26 17:08 [PATCH 1/2] system_data_types.7: Add va_list Alejandro Colomar
2020-09-26 17:08 ` [PATCH 2/2] va_list.3: New link to system_data_types(7) Alejandro Colomar
2020-09-26 20:13   ` Michael Kerrisk (man-pages)
2020-09-26 20:13 ` [PATCH 1/2] system_data_types.7: Add va_list Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).