shithub: drawterm

ref: 972518cb05abadad60bd61a454f743ca72042c47
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}