git: 9front

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