shithub: drawterm

ref: 6bfea395105390370f2681a34d8c10bb3465bfdb
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}