git: 9front

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