ReactOS 0.4.16-dev-959-g2ec3a19
wcsset.cpp
Go to the documentation of this file.
1//
2// wcsset.cpp
3//
4// Copyright (c) Microsoft Corporation. All rights reserved.
5//
6// Defines _wcsset(), which sets all of the characters in a wide character
7// string to the given value.
8//
9#include <string.h>
10
11
12
13#if defined _M_X64 || defined _M_IX86 || defined _M_ARM || defined _M_ARM64
14 #pragma warning(disable:4163)
15 #pragma function(_wcsset)
16#endif
17
18
19
20extern "C" wchar_t* __cdecl _wcsset(
21 wchar_t* const string,
22 wchar_t const value
23 )
24{
25 for (wchar_t* p = string; *p; ++p)
26 *p = value;
27
28 return string;
29}
#define __cdecl
Definition: accygwin.h:79
_wcsset
GLfloat GLfloat p
Definition: glext.h:8902
char string[160]
Definition: util.h:11
Definition: pdh_main.c:96