git: 9front

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