git: 9front

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