shithub: drawterm

ref: 4c9f5697837697b995aef5088a3d8e18fc956222
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}