git: 9front

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