This commit was manufactured by cvs2svn to create branch 'captive'.
[reactos.git] / lib / string / tcslen.h
1 /* $Id$
2  */
3
4 #include <stddef.h>
5 #include <tchar.h>
6
7 size_t _tcslen(const _TCHAR * str)
8 {
9  const _TCHAR * s;
10
11  if(str == 0) return 0;
12
13  for(s = str; *s; ++ s);
14
15  return s - str;
16 }
17
18 /* EOF */