shithub: riscv

ref: 56c212c010af4d0e18454699699eb65d08704af0
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;
}