git: 9front

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