mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:22:58 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
16
sdk/lib/crt/string/tcsnlen.h
Normal file
16
sdk/lib/crt/string/tcsnlen.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
#include <stddef.h>
|
||||
#include <tchar.h>
|
||||
|
||||
size_t __cdecl _tcsnlen(const _TCHAR * str, size_t count)
|
||||
{
|
||||
const _TCHAR * s;
|
||||
|
||||
if(str == 0) return 0;
|
||||
|
||||
for(s = str; *s && count; ++ s, -- count);
|
||||
|
||||
return s - str;
|
||||
}
|
||||
|
||||
/* EOF */
|
Loading…
Add table
Add a link
Reference in a new issue