git: 9front

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