mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-12 09:17:53 +00:00
- Introduce portable sched_getcpu() api - Support GCC's __target_clones__ feature - Make fma() go faster on x86 in default mode - Remove some asan checks from core libraries - WinMain() now ensures $HOME and $USER are defined
47 lines
935 B
C++
47 lines
935 B
C++
// -*- C++ -*-
|
|
//===--------------------------- cstdarg ----------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef _LIBCPP_CSTDARG
|
|
#define _LIBCPP_CSTDARG
|
|
|
|
#include "third_party/libcxx/__config"
|
|
#include "libc/isystem/stdarg.h"
|
|
|
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
|
#pragma GCC system_header
|
|
#endif
|
|
|
|
_LIBCPP_BEGIN_NAMESPACE_STD
|
|
|
|
/*
|
|
cstdarg synopsis
|
|
|
|
Macros:
|
|
|
|
type va_arg(va_list ap, type);
|
|
void va_copy(va_list dest, va_list src); // C99
|
|
void va_end(va_list ap);
|
|
void va_start(va_list ap, parmN);
|
|
|
|
namespace std
|
|
{
|
|
|
|
Types:
|
|
|
|
va_list
|
|
|
|
} // std
|
|
|
|
*/
|
|
|
|
using ::va_list;
|
|
|
|
_LIBCPP_END_NAMESPACE_STD
|
|
|
|
#endif // _LIBCPP_CSTDARG
|