blob: da64667a7109ae668b76dfe3d5e425de54a0d169 [file] [log] [blame]
Howard Hinnantc51e1022010-05-11 19:42:16 +00001// -*- C++ -*-
2//===--------------------------- cstdarg ----------------------------------===//
3//
Chandler Carruthd2012102019-01-19 10:56:40 +00004// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Howard Hinnantc51e1022010-05-11 19:42:16 +00007//
8//===----------------------------------------------------------------------===//
9
10#ifndef _LIBCPP_CSTDARG
11#define _LIBCPP_CSTDARG
12
13/*
14 cstdarg synopsis
15
16Macros:
17
18 type va_arg(va_list ap, type);
19 void va_copy(va_list dest, va_list src); // C99
20 void va_end(va_list ap);
21 void va_start(va_list ap, parmN);
Howard Hinnant3b6579a2010-08-22 00:02:43 +000022
Howard Hinnantc51e1022010-05-11 19:42:16 +000023namespace std
24{
25
26Types:
27
28 va_list
29
30} // std
31
32*/
33
34#include <__config>
35#include <stdarg.h>
36
Howard Hinnantaaaa52b2011-10-17 20:05:10 +000037#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Howard Hinnantc51e1022010-05-11 19:42:16 +000038#pragma GCC system_header
Howard Hinnantaaaa52b2011-10-17 20:05:10 +000039#endif
Howard Hinnantc51e1022010-05-11 19:42:16 +000040
41_LIBCPP_BEGIN_NAMESPACE_STD
42
43using ::va_list;
44
45_LIBCPP_END_NAMESPACE_STD
46
Louis Dionne2b1ceaa2021-04-20 12:03:32 -040047#endif // _LIBCPP_CSTDARG