shithub: drawterm

ref: 7ccc433d64fe03965debb1b4950e1bd23654b1fa
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}