shithub: riscv

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