git: 9front

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