git: 9front

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