git: 9front

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