xref: /llvm-project/libc/src/stdio/setbuf.h (revision 5ff3ff33ff930e4ec49da7910612d8a41eb068cb)
14eea8849SSiva Chandra Reddy //===-- Implementation header of setbuf -------------------------*- C++ -*-===//
24eea8849SSiva Chandra Reddy //
34eea8849SSiva Chandra Reddy // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44eea8849SSiva Chandra Reddy // See https://llvm.org/LICENSE.txt for license information.
54eea8849SSiva Chandra Reddy // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
64eea8849SSiva Chandra Reddy //
74eea8849SSiva Chandra Reddy //===----------------------------------------------------------------------===//
84eea8849SSiva Chandra Reddy 
94eea8849SSiva Chandra Reddy #ifndef LLVM_LIBC_SRC_STDIO_SETBUF_H
104eea8849SSiva Chandra Reddy #define LLVM_LIBC_SRC_STDIO_SETBUF_H
114eea8849SSiva Chandra Reddy 
125aed6d67SMichael Jones #include "hdr/types/FILE.h"
13*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
144eea8849SSiva Chandra Reddy 
15*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
164eea8849SSiva Chandra Reddy 
174eea8849SSiva Chandra Reddy void setbuf(::FILE *__restrict stream, char *__restrict buf);
184eea8849SSiva Chandra Reddy 
19*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
204eea8849SSiva Chandra Reddy 
214eea8849SSiva Chandra Reddy #endif // LLVM_LIBC_SRC_STDIO_SETBUF_H
22