git: 9front

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