git: 9front

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