shithub: drawterm

ref: 05c9c55ff13ef53c5033c409064ccaf883cf001a
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}