git: 9front

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