git: 9front

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