git: 9front

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