git: 9front

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