ReactOS  0.4.14-dev-593-g1793dcc
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 
9 size_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
const WCHAR * str
size_t __cdecl _tcslen(const _TCHAR *str)
Definition: tcslen.h:9
char _TCHAR
Definition: tchar.h:1392
GLdouble s
Definition: gl.h:2039