git: 9front

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