shithub: drawterm

ref: 7d633eeb7f1d5bb10dd51934d95db5f9b4779441
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}