git: 9front

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