git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a2995f87dd6a8e5e30b5856783c7ff2caa80975b
[reactos.git]
/
lib
/
crtdll
/
string
/
strlen.c
1
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
2
#include <msvcrt/string.h>
3
4
5
size_t strlen(const char* str)
6
{
7
const char* s;
8
9
if (str == 0)
10
return 0;
11
for (s = str; *s; ++s);
12
return s-str;
13
}
14