set most of trunk svn property eol-style:native
[reactos.git] / reactos / lib / string / wcsnset.c
1 #include <string.h>
2
3 /*
4 * @implemented
5 */
6 wchar_t *_wcsnset (wchar_t* wsToFill, wchar_t wcFill, size_t sizeMaxFill)
7 {
8 wchar_t *t = wsToFill;
9 int i = 0;
10 while( *wsToFill != 0 && i < (int) sizeMaxFill)
11 {
12 *wsToFill = wcFill;
13 wsToFill++;
14 i++;
15 }
16 return t;
17 }