git: 9front

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