git: 9front

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