git: 9front

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