shithub: riscv

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