git: 9front

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