reactos/reactos/lib/sdk/crt/string/tcslen.h
Aleksey Bragin 375959c206 - Sync some changes in strings from libcntpr.
- Move string implementation (in "header" files) into /string dir.
- Copy over libcntpr-specific implementations into _nt.c files (for now, later they could do with a define).
- libcntpr's is now almost fully syncronized and could be merged into the tree except for "except" directory.

svn path=/trunk/; revision=30283
2007-11-08 21:06:20 +00:00

18 lines
191 B
C

/* $Id$
*/
#include <stddef.h>
#include <tchar.h>
size_t _tcslen(const _TCHAR * str)
{
const _TCHAR * s;
if(str == 0) return 0;
for(s = str; *s; ++ s);
return s - str;
}
/* EOF */