git: 9front

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