git: 9front

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