shithub: riscv

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