projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added binary and unicode file i/o support to msvcrt.
[reactos.git]
/
reactos
/
lib
/
crtdll
/
string
/
strlen.c
1
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
2
#include <msvcrt/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