git: 9front

ref: 66388176ce7358d55b82024b1bdbb872a51a3ad1
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;
}