git: 9front

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