git: 9front

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