mirror of
https://github.com/reactos/reactos.git
synced 2026-07-04 22:44:20 +08:00
18 lines
284 B
C
18 lines
284 B
C
#include <string.h>
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
wchar_t *_wcsnset (wchar_t* wsToFill, wchar_t wcFill, size_t sizeMaxFill)
|
|
{
|
|
wchar_t *t = wsToFill;
|
|
int i = 0;
|
|
while( *wsToFill != 0 && i < (int) sizeMaxFill)
|
|
{
|
|
*wsToFill = wcFill;
|
|
wsToFill++;
|
|
i++;
|
|
}
|
|
return t;
|
|
}
|