git: 9front

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