git: 9front

ref: aa2f5f17f52ef838a2352b5eb92bf6b4ebd48815
dir: /sys/src/ape/lib/ap/gen/strlen.c/

View raw version
#include <string.h>

size_t
strlen(const char *s)
{

	return strchr(s, 0) - s;
}