19f1d905fSMichael Jones //===-- Implementation header of snprintf -----------------------*- C++ -*-===// 29f1d905fSMichael Jones // 39f1d905fSMichael Jones // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 49f1d905fSMichael Jones // See https://llvm.org/LICENSE.txt for license information. 59f1d905fSMichael Jones // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 69f1d905fSMichael Jones // 79f1d905fSMichael Jones //===----------------------------------------------------------------------===// 89f1d905fSMichael Jones 99f1d905fSMichael Jones #ifndef LLVM_LIBC_SRC_STDIO_SNPRINTF_H 109f1d905fSMichael Jones #define LLVM_LIBC_SRC_STDIO_SNPRINTF_H 119f1d905fSMichael Jones 12*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h" 139f1d905fSMichael Jones #include <stddef.h> 149f1d905fSMichael Jones 15*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL { 169f1d905fSMichael Jones 179f1d905fSMichael Jones int snprintf(char *__restrict buffer, size_t buffsz, 189f1d905fSMichael Jones const char *__restrict format, ...); 199f1d905fSMichael Jones 20*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL 219f1d905fSMichael Jones 229f1d905fSMichael Jones #endif // LLVM_LIBC_SRC_STDIO_SNPRINTF_H 23