shithub: drawterm

ref: 3dbe2c359f8e2fcaa84031dc590c138660611575
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}