shithub: riscv

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