git: 9front

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