git: 9front

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