shithub: drawterm

ref: 46bd8d37d2e7579a751a82fcf792ecf568c312fe
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}