git: 9front

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