diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-07-21 14:51:41 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-07-21 14:51:41 +0200 |
commit | 5df0b721ac3fd8df5adf502f156a5ded593a615d (patch) | |
tree | eecc3b25b04607c8976e05001130ffa592de540c | |
parent | 72c26943ed4bf9771419c57bda724d9ddd640edd (diff) |
va_list.3, system_data_types.7: Move va_list to a separate page
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r-- | man3/va_list.3 | 44 | ||||
-rw-r--r-- | man7/system_data_types.7 | 30 |
2 files changed, 43 insertions, 31 deletions
diff --git a/man3/va_list.3 b/man3/va_list.3 index db50c0f09..ab580b81c 100644 --- a/man3/va_list.3 +++ b/man3/va_list.3 @@ -1 +1,43 @@ -.so man7/system_data_types.7 +.\" Copyright (c) 2020-2022 by Alejandro Colomar <colomar.6.4.3@gmail.com> +.\" and Copyright (c) 2020 by Michael Kerrisk <mtk.manpages@gmail.com> +.\" +.\" SPDX-License-Identifier: Linux-man-pages-copyleft +.\" +.\" +.TH VA_LIST 3type 2022-07-21 Linux "Linux Programmer's Manual" +.SH NAME +va_list \- variable argument list +.SH LIBRARY +Standard C library +.RI ( libc ) +.SH SYNOPSIS +.nf +.B #include <stdarg.h> +.PP +.BR typedef " /* ... */ " va_list; +.fi +.SH DESCRIPTION +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. +.SH CONFORMING TO +C99 and later. +POSIX.1-2001 and later. +.SH NOTES +The following headers also provide +.IR va_list : +.I <stdio.h> +and +.IR <wchar.h> . +.SH SEE ALSO +.BR va_start (3), +.BR va_arg (3), +.BR va_copy (3), +.BR va_end (3) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index 945837c2c..dc5334549 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -558,36 +558,6 @@ POSIX.1-2001 and later. .\"------------------------------------- uintptr_t --------------------/ .\"------------------------------------- useconds_t -------------------/ .\"------------------------------------- va_list ----------------------/ -.TP -.I va_list -.RS -.IR Include : -.IR <stdarg> . -Alternatively, -.IR <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 -.IR "Conforming to" : -C99 and later; POSIX.1-2001 and later. -.PP -.IR "See also" : -.BR va_start (3), -.BR va_arg (3), -.BR va_copy (3), -.BR va_end (3) -.RE .\"------------------------------------- void * -----------------------/ .\"--------------------------------------------------------------------/ .SH NOTES |