git: 9front

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