shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}