shithub: drawterm

ref: b74913235f3bd78b33f3ce37c094f4d9e9392676
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}