xref: /llvm-project/libc/src/stdio/fopen.h (revision 5ff3ff33ff930e4ec49da7910612d8a41eb068cb)
1441606f5SSiva Chandra Reddy //===-- Implementation header of fopen --------------------------*- C++ -*-===//
2441606f5SSiva Chandra Reddy //
3441606f5SSiva Chandra Reddy // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4441606f5SSiva Chandra Reddy // See https://llvm.org/LICENSE.txt for license information.
5441606f5SSiva Chandra Reddy // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6441606f5SSiva Chandra Reddy //
7441606f5SSiva Chandra Reddy //===----------------------------------------------------------------------===//
8441606f5SSiva Chandra Reddy 
9441606f5SSiva Chandra Reddy #ifndef LLVM_LIBC_SRC_STDIO_FOPEN_H
10441606f5SSiva Chandra Reddy #define LLVM_LIBC_SRC_STDIO_FOPEN_H
11441606f5SSiva Chandra Reddy 
125aed6d67SMichael Jones #include "hdr/types/FILE.h"
13*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
14441606f5SSiva Chandra Reddy 
15*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
16441606f5SSiva Chandra Reddy 
17441606f5SSiva Chandra Reddy ::FILE *fopen(const char *__restrict name, const char *__restrict mode);
18441606f5SSiva Chandra Reddy 
19*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
20441606f5SSiva Chandra Reddy 
21441606f5SSiva Chandra Reddy #endif // LLVM_LIBC_SRC_STDIO_FOPEN_H
22