shithub: riscv

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