git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c68a3dd712baaf29ee379a9acff171f89301327a
[reactos.git]
/
lib
/
crtdll
/
string
/
strlen.c
1
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
2
#include <crtdll/string.h>
3
4
size_t
5
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