shithub: drawterm

ref: 88f161d1786b19af9c1a79275ed57de0333918bd
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}