]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3type/va_list.3type
man*/: srcfix (Use .P instead of .PP or .LP)
[thirdparty/man-pages.git] / man3type / va_list.3type
CommitLineData
cb0f97b2 1.\" Copyright (c) 2020-2022 by Alejandro Colomar <alx@kernel.org>
5df0b721
AC
2.\" and Copyright (c) 2020 by Michael Kerrisk <mtk.manpages@gmail.com>
3.\"
4.\" SPDX-License-Identifier: Linux-man-pages-copyleft
5.\"
6.\"
4c1c5274 7.TH va_list 3type (date) "Linux man-pages (unreleased)"
5df0b721
AC
8.SH NAME
9va_list \- variable argument list
10.SH LIBRARY
11Standard C library
12.RI ( libc )
13.SH SYNOPSIS
14.nf
15.B #include <stdarg.h>
c6d039a3 16.P
5df0b721
AC
17.BR typedef " /* ... */ " va_list;
18.fi
19.SH DESCRIPTION
20Used by functions with a varying number of arguments of varying types.
21The function must declare an object of type
22.I va_list
23which is used by the macros
24.BR va_start (3),
25.BR va_arg (3),
26.BR va_copy (3),
27and
28.BR va_end (3)
29to traverse the list of arguments.
3113c7f3 30.SH STANDARDS
4131356c
AC
31C11, POSIX.1-2008.
32.SH HISTORY
33C89, POSIX.1-2001.
5df0b721
AC
34.SH NOTES
35The following headers also provide
36.IR va_list :
37.I <stdio.h>
38and
39.IR <wchar.h> .
40.SH SEE ALSO
41.BR va_start (3),
42.BR va_arg (3),
43.BR va_copy (3),
44.BR va_end (3)