[MLIR] reverse int8 type's printing logic (#69361)
[llvm-project.git] / libc / src / stdio / vsnprintf.h
blob6da25fc66f7920ed4f8b67eaf4cdd825f4496488
1 //===-- Implementation header of vsnprintf ----------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIBC_SRC_STDIO_VSNPRINTF_H
10 #define LLVM_LIBC_SRC_STDIO_VSNPRINTF_H
12 #include <stdarg.h>
13 #include <stddef.h>
15 namespace LIBC_NAMESPACE {
17 int vsnprintf(char *__restrict buffer, size_t buffsz,
18 const char *__restrict format, va_list vlist);
20 } // namespace LIBC_NAMESPACE
22 #endif // LLVM_LIBC_SRC_STDIO_VSNPRINTF_H