shithub: riscv

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