git: 9front

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