git: 9front

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