shithub: riscv

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