git: 9front

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