SPRU514Z July 2001 – October 2023 SM320F28335-EP
/****************************************************************************/
/* strlen */
/****************************************************************************/
#undef _INLINE
#include <string>
_CODE_ACCESS size_t strlen(cont char * string)
{
size_t n = (size_t)-1;
const char *s = string - 1;
do n++; while (*++s);
return n;
}