git: 9front

ref: 4ea762bc821a4c5aa461a902c61369f486a7e0d4
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;
}