Path: blob/main/system/lib/llvm-libc/src/wchar/mbrtowc.h
6171 views
//===-- Implementation header for mbrtowc ---------------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_LIBC_SRC_WCHAR_MBRTOWC_H9#define LLVM_LIBC_SRC_WCHAR_MBRTOWC_H1011#include "hdr/types/mbstate_t.h"12#include "hdr/types/size_t.h"13#include "hdr/types/wchar_t.h"14#include "src/__support/macros/config.h"1516namespace LIBC_NAMESPACE_DECL {1718size_t mbrtowc(wchar_t *__restrict pwc, const char *__restrict s, size_t n,19mbstate_t *__restrict ps);2021} // namespace LIBC_NAMESPACE_DECL2223#endif // LLVM_LIBC_SRC_WCHAR_MBRTOWC_H242526