git: 9front

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