git: 9front

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