git: 9front

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