| //===----------------------------------------------------------------------===// |
| // |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| // |
| //===----------------------------------------------------------------------===// |
| /// |
| /// \file |
| /// This file contains the prototype for the fgetws function, which reads a |
| /// wide-character string from a file. |
| /// |
| //===----------------------------------------------------------------------===// |
| |
| #ifndef LLVM_LIBC_SRC_WCHAR_FGETWS_H |
| #define LLVM_LIBC_SRC_WCHAR_FGETWS_H |
| |
| #include "hdr/types/FILE.h" |
| #include "hdr/types/wchar_t.h" |
| #include "src/__support/macros/config.h" |
| |
| namespace LIBC_NAMESPACE_DECL { |
| |
| wchar_t *fgetws(wchar_t *__restrict str, int count, ::FILE *__restrict stream); |
| |
| } // namespace LIBC_NAMESPACE_DECL |
| |
| #endif // LLVM_LIBC_SRC_WCHAR_FGETWS_H |