shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}