git: 9front

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