git: 9front

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