shithub: riscv

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