git: 9front

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