git: 9front

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