git: 9front

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