ReactOS 0.4.15-dev-7958-gcd0bb1a
tcslen.h
Go to the documentation of this file.
1
2#include <stddef.h>
3#include <tchar.h>
4
5#ifdef _MSC_VER
6#pragma function(_tcslen)
7#endif /* _MSC_VER */
8
9size_t __cdecl _tcslen(const _TCHAR * str)
10{
11 const _TCHAR * s;
12
13 if(str == 0) return 0;
14
15 for(s = str; *s; ++ s);
16
17 return s - str;
18}
19
20/* EOF */
#define __cdecl
Definition: accygwin.h:79
GLdouble s
Definition: gl.h:2039
char _TCHAR
Definition: tchar.h:1392
const WCHAR * str
#define _tcslen
Definition: xmlstorage.h:198