git: 9front

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