git: 9front

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