git: 9front

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