git: 9front

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