shithub: riscv

ref: d570229e8268c96e97858f021b84bf00305f1daa
dir: /sys/src/libc/port/runestrlen.c/

View raw version
#include <u.h>
#include <libc.h>

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}