xref: /llvm-project/libc/src/stdio/sprintf.h (revision 5ff3ff33ff930e4ec49da7910612d8a41eb068cb)
1ff6fe39eSMichael Jones //===-- Implementation header of sprintf ------------------------*- C++ -*-===//
2ff6fe39eSMichael Jones //
3ff6fe39eSMichael Jones // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4ff6fe39eSMichael Jones // See https://llvm.org/LICENSE.txt for license information.
5ff6fe39eSMichael Jones // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6ff6fe39eSMichael Jones //
7ff6fe39eSMichael Jones //===----------------------------------------------------------------------===//
8ff6fe39eSMichael Jones 
9ff6fe39eSMichael Jones #ifndef LLVM_LIBC_SRC_STDIO_SPRINTF_H
10ff6fe39eSMichael Jones #define LLVM_LIBC_SRC_STDIO_SPRINTF_H
11ff6fe39eSMichael Jones 
12*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
13*5ff3ff33SPetr Hosek 
14*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
15ff6fe39eSMichael Jones 
16ff6fe39eSMichael Jones int sprintf(char *__restrict buffer, const char *__restrict format, ...);
17ff6fe39eSMichael Jones 
18*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
19ff6fe39eSMichael Jones 
20ff6fe39eSMichael Jones #endif // LLVM_LIBC_SRC_STDIO_SPRINTF_H
21