shithub: riscv

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