git: 9front

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