git: 9front

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