]>
Commit | Line | Data |
---|---|---|
5df0b721 AC |
1 | .\" Copyright (c) 2020-2022 by Alejandro Colomar <colomar.6.4.3@gmail.com> |
2 | .\" and Copyright (c) 2020 by Michael Kerrisk <mtk.manpages@gmail.com> | |
3 | .\" | |
4 | .\" SPDX-License-Identifier: Linux-man-pages-copyleft | |
5 | .\" | |
6 | .\" | |
45186a5d | 7 | .TH VA_LIST 3type 2022-07-21 "Linux man-pages (unreleased)" |
5df0b721 AC |
8 | .SH NAME |
9 | va_list \- variable argument list | |
10 | .SH LIBRARY | |
11 | Standard C library | |
12 | .RI ( libc ) | |
13 | .SH SYNOPSIS | |
14 | .nf | |
15 | .B #include <stdarg.h> | |
16 | .PP | |
17 | .BR typedef " /* ... */ " va_list; | |
18 | .fi | |
19 | .SH DESCRIPTION | |
20 | Used by functions with a varying number of arguments of varying types. | |
21 | The function must declare an object of type | |
22 | .I va_list | |
23 | which is used by the macros | |
24 | .BR va_start (3), | |
25 | .BR va_arg (3), | |
26 | .BR va_copy (3), | |
27 | and | |
28 | .BR va_end (3) | |
29 | to traverse the list of arguments. | |
3113c7f3 | 30 | .SH STANDARDS |
801a509d | 31 | C99 and later; |
5df0b721 AC |
32 | POSIX.1-2001 and later. |
33 | .SH NOTES | |
34 | The following headers also provide | |
35 | .IR va_list : | |
36 | .I <stdio.h> | |
37 | and | |
38 | .IR <wchar.h> . | |
39 | .SH SEE ALSO | |
40 | .BR va_start (3), | |
41 | .BR va_arg (3), | |
42 | .BR va_copy (3), | |
43 | .BR va_end (3) |