git: 9front

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