git: 9front

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