git: 9front

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