shithub: drawterm

ref: 6414ab8ff1259c87b6f53bbf2b919ee70480b9bc
dir: /libc/runestrlen.c/

View raw version
#include <u.h>
#include <libc.h>

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}