/* Doc in wcsnrtombs.c */ #include #include #include size_t _DEFUN (_wcsrtombs_r, (r, dst, src, len, ps), 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 _DEFUN (wcsrtombs, (dst, src, len, ps), 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 */