shithub: drawterm

ref: 353f9089e69e48fb66767b725cce6b438cb40668
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}