shithub: riscv

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