shithub: riscv

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