1
0
Fork 0
mirror of https://github.com/reactos/reactos.git synced 2025-05-08 03:07:05 +00:00
reactos/sdk/lib/crt/string/tcslen.h

20 lines
252 B
C

#include <stddef.h>
#include <tchar.h>
#ifdef _MSC_VER
#pragma function(_tcslen)
#endif /* _MSC_VER */
size_t __cdecl _tcslen(const _TCHAR * str)
{
const _TCHAR * s;
if(str == 0) return 0;
for(s = str; *s; ++ s);
return s - str;
}
/* EOF */