git: 9front

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