git: 9front

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