git: 9front

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