mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 07:31:28 +00:00
16d5c24226
The v variants of the printf functions take their variadic arguments as a va_list instead of as individual arguments. They are otherwise identical to the corresponding printf variants. This patch adds them (vprintf, vfprintf, vsprintf, and vsnprintf) as well as tests. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D157138
21 lines
611 B
Modula-2
21 lines
611 B
Modula-2
//===-- C standard library header stdio.h ---------------------------------===//
|
|
//
|
|
// 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 LLVM_LIBC_STDIO_H
|
|
#define LLVM_LIBC_STDIO_H
|
|
|
|
#include <__llvm-libc-common.h>
|
|
#include <llvm-libc-macros/file-seek-macros.h>
|
|
#include <llvm-libc-macros/stdio-macros.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
%%public_api()
|
|
|
|
#endif // LLVM_LIBC_STDIO_H
|