shithub: riscv

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