git: 9front

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