27 lines
482 B
C
27 lines
482 B
C
/* Doc in wcsnrtombs.c */
|
|
|
|
#include <reent.h>
|
|
#include <newlib.h>
|
|
#include <wchar.h>
|
|
|
|
size_t
|
|
_wcsrtombs_r (struct _reent *r,
|
|
char *dst,
|
|
const wchar_t **src,
|
|
size_t len,
|
|
mbstate_t *ps)
|
|
{
|
|
return _wcsnrtombs_r (r, dst, src, (size_t) -1, len, ps);
|
|
}
|
|
|
|
#ifndef _REENT_ONLY
|
|
size_t
|
|
wcsrtombs (char *__restrict dst,
|
|
const wchar_t **__restrict src,
|
|
size_t len,
|
|
mbstate_t *__restrict ps)
|
|
{
|
|
return _wcsnrtombs_r (_REENT, dst, src, (size_t) -1, len, ps);
|
|
}
|
|
#endif /* !_REENT_ONLY */
|