git: 9front

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