shithub: riscv

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