git: 9front

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