git: 9front

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