shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}