git: 9front

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