shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}