mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 01:42:30 +00:00
15 lines
218 B
C
15 lines
218 B
C
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
|
#include <msvcrt/string.h>
|
|
|
|
size_t
|
|
strlen(const char *str)
|
|
{
|
|
const char *s;
|
|
|
|
if (str == 0)
|
|
return 0;
|
|
for (s = str; *s; ++s);
|
|
return s-str;
|
|
}
|
|
|