1 /*
2 Copyright (c) 2002 Thomas Fitzsimmons <fitzsim@redhat.com>
3  */
4 /* Doc in wcsnrtombs.c */
5 
6 #define _DEFAULT_SOURCE
7 #include <newlib.h>
8 #include <wchar.h>
9 
10 #ifndef _REENT_ONLY
11 size_t
wcsrtombs(char * __restrict dst,const wchar_t ** __restrict src,size_t len,mbstate_t * __restrict ps)12 wcsrtombs (char *__restrict dst,
13 	const wchar_t **__restrict src,
14 	size_t len,
15 	mbstate_t *__restrict ps)
16 {
17   return wcsnrtombs (dst, src, (size_t) -1, len, ps);
18 }
19 #endif /* !_REENT_ONLY */
20