git: 9front

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