shithub: riscv

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