git: 9front

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