git: 9front

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