12d522833SMichael Jones //===-- Implementation header of fgets --------------------------*- C++ -*-===// 22d522833SMichael Jones // 32d522833SMichael Jones // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 42d522833SMichael Jones // See https://llvm.org/LICENSE.txt for license information. 52d522833SMichael Jones // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 62d522833SMichael Jones // 72d522833SMichael Jones //===----------------------------------------------------------------------===// 82d522833SMichael Jones 92d522833SMichael Jones #ifndef LLVM_LIBC_SRC_STDIO_FGETS_H 102d522833SMichael Jones #define LLVM_LIBC_SRC_STDIO_FGETS_H 112d522833SMichael Jones 125aed6d67SMichael Jones #include "hdr/types/FILE.h" 13*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h" 142d522833SMichael Jones 15*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL { 162d522833SMichael Jones 172d522833SMichael Jones char *fgets(char *__restrict str, int count, ::FILE *__restrict raw_stream); 182d522833SMichael Jones 19*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL 202d522833SMichael Jones 212d522833SMichael Jones #endif // LLVM_LIBC_SRC_STDIO_FGETS_H 22