ReactOS 0.4.16-dev-1067-ge98bba2
wcsncnt.cpp File Reference
#include <string.h>
Include dependency graph for wcsncnt.cpp:

Go to the source code of this file.

Functions

size_t __cdecl __wcsncnt (wchar_t const *const string, size_t const count)
 

Function Documentation

◆ __wcsncnt()

size_t __cdecl __wcsncnt ( wchar_t const *const  string,
size_t const  count 
)

Definition at line 13 of file wcsncnt.cpp.

17{
18 wchar_t const* it = string;
19 size_t n = 0;
20
21 for (; *it && n != count; ++it, ++n) { }
22
23 return n;
24}
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLdouble n
Definition: glext.h:7729
char string[160]
Definition: util.h:11