git: 9front

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