git: 9front

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