shithub: drawterm

ref: 691adfab413b4776a028ee94016fcaf1fa519c6f
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}