shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}