shithub: riscv

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