Path: blob/main/system/lib/llvm-libc/src/wchar/wcrtomb.h
6189 views
//===-- Implementation header for wcrtomb -----------------------*- C++ -*-===//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_WCRTOMB_H9#define LLVM_LIBC_SRC_WCHAR_WCRTOMB_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 wcrtomb(char *__restrict s, wchar_t wc, mbstate_t *__restrict ps);1920} // namespace LIBC_NAMESPACE_DECL2122#endif // LLVM_LIBC_SRC_WCHAR_WCRTOMB_H232425