git: 9front

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