Commit 770d3b86 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Copy strlen implementation from ntdll.

parent 45be3613
......@@ -1266,7 +1266,9 @@ int CDECL __STRINGTOLD( MSVCRT__LDOUBLE *value, char **endptr, const char *str,
*/
MSVCRT_size_t __cdecl MSVCRT_strlen(const char *str)
{
return strlen(str);
const char *s = str;
while (*s) s++;
return s - str;
}
/******************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment