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
/
wchar
/
wcslen.c
1
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2
3
#include <msvcrt/string.h>
4
5
6
size_t
wcslen
(
const wchar_t
*
s
)
7
{
8
const wchar_t
*
save
;
9
10
if
(
s
==
0
)
11
return
0
;
12
for
(
save
=
s
; *
save
; ++
save
);
13
return
save
-
s
;
14
}
15
16
size_t
wstrlen
(
const wchar_t
*
s
)
17
{
18
return
wcslen
(
s
);
19
}