#include <precomp.h>
#include <assert.h>
#include "wine/unicode.h"
Go to the source code of this file.
|
| wchar_t *CDECL | _wcsnset (wchar_t *str, wchar_t c, size_t n) |
| |
| wchar_t *CDECL | _wcsrev (wchar_t *str) |
| |
| int CDECL | wcscoll (const wchar_t *str1, const wchar_t *str2) |
| |
| wchar_t *CDECL | wcspbrk (const wchar_t *str, const wchar_t *accept) |
| |
| INT CDECL | wcscpy_s (wchar_t *wcDest, size_t numElement, const wchar_t *wcSrc) |
| |
| INT CDECL | wcsncpy_s (wchar_t *wcDest, size_t numElement, const wchar_t *wcSrc, size_t count) |
| |
| INT CDECL | wcscat_s (wchar_t *dst, size_t elem, const wchar_t *src) |
| |
| INT CDECL | wcsncat_s (wchar_t *dst, size_t elem, const wchar_t *src, size_t count) |
| |
◆ _wcsnset()
Definition at line 37 of file wcs.c.
38{
40 while ((
n-- > 0) && *
str) *
str++ =
c;
42}
◆ _wcsrev()
Definition at line 47 of file wcs.c.
◆ wcscat_s()
Definition at line 147 of file wcs.c.
148{
150
153 {
156 }
157
158
161 {
162 if ((*
ptr++ = *
src++) ==
'\0')
return 0;
163 }
164
167}
◆ wcscoll()
Definition at line 63 of file wcs.c.
64{
65
67}
XML_HIDDEN void xmlParserErrors const char const xmlChar const xmlChar * str2
XML_HIDDEN void xmlParserErrors const char const xmlChar * str1
◆ wcscpy_s()
Definition at line 86 of file wcs.c.
87{
89
90 if(!wcDest || !numElement)
92
93 wcDest[0] = 0;
94
96 {
98 }
99
101
102 if(
size > numElement)
103 {
105 }
106
108
109 return 0;
110}
#define memcpy(s1, s2, n)
static const unsigned char *static size_t const wchar_t * wcSrc
◆ wcsncat_s()
Definition at line 173 of file wcs.c.
175{
179
181 {
183 }
187 return 0;
188
190 {
192 break;
193 }
195 {
198 }
199
201 {
204 {
207 }
208 }
209 else
212 {
216 }
220}
#define MSVCRT_INVALID_PMT(x, err)
#define MSVCRT_CHECK_PMT(x)
GLuint GLuint GLsizei count
static DWORD LPDWORD LPCSTR DWORD srclen
static transitiondate dststart
◆ wcsncpy_s()
Definition at line 115 of file wcs.c.
117{
119
120 if (!wcDest || !numElement)
122
123 wcDest[0] = 0;
124
126 {
128 }
129
131
132 if (
size >= numElement)
133 {
135 }
136
139
140 return 0;
141}
◆ wcspbrk()
Definition at line 72 of file wcs.c.
73{
76 {
79 }
81}
SOCKET WSAAPI accept(IN SOCKET s, OUT LPSOCKADDR addr, OUT INT FAR *addrlen)