shithub: riscv

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