git: 9front

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