git: 9front

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