git: 9front

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