shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}