git: 9front

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