git: 9front

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