git: 9front

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