ReactOS 0.4.16-dev-937-g7afcd2a
mbrtoc16.cpp File Reference
#include <corecrt_internal_mbstring.h>
#include <corecrt_internal_ptd_propagation.h>
#include <errno.h>
#include <uchar.h>
#include <wchar.h>
Include dependency graph for mbrtoc16.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{mbrtoc16.cpp}
 

Functions

size_t anonymous_namespace{mbrtoc16.cpp}::begin_surrogate_state (char16_t *pc16, char32_t c32, size_t retval, mbstate_t *ps)
 
size_t anonymous_namespace{mbrtoc16.cpp}::end_surrogate_state (char16_t *pc16, mbstate_t *ps)
 
bool anonymous_namespace{mbrtoc16.cpp}::is_surrogate_state (const mbstate_t *ps)
 
size_t __cdecl mbrtoc16 (char16_t *pc16, const char *s, size_t n, mbstate_t *ps)
 

Function Documentation

◆ mbrtoc16()

size_t __cdecl mbrtoc16 ( char16_t pc16,
const char s,
size_t  n,
mbstate_t ps 
)

Definition at line 43 of file mbrtoc16.cpp.

44{
45 // TODO: Bug 13307590 says this is always assuming UTF-8.
46 __crt_cached_ptd_host ptd;
47 return __mbrtoc16_utf8(pc16, s, n, ps, ptd);
48}
_In_ size_t const _In_ int _In_ bool const _In_ unsigned const _In_ __acrt_rounding_mode const _Inout_ __crt_cached_ptd_host & ptd
Definition: cvt.cpp:355
GLdouble s
Definition: gl.h:2039
GLdouble n
Definition: glext.h:7729
size_t __cdecl __mbrtoc16_utf8(char16_t *pc32, const char *s, size_t n, mbstate_t *ps, __crt_cached_ptd_host &ptd)
Definition: mbrtoc16.cpp:50