git: 9front

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