missed this file

svn path=/trunk/; revision=238
This commit is contained in:
Rex Jolliff 1999-02-16 07:47:29 +00:00
parent 2c6653bf1c
commit 6752566cd2

View file

@ -0,0 +1,14 @@
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include <string.h>
size_t
strlen(const char *str)
{
const char *s;
if (str == 0)
return 0;
for (s = str; *s; ++s);
return s-str;
}