git: 9front

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