git: 9front

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