git: 9front

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