git: 9front

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