shithub: drawterm

ref: 964d0bdc5761cc09733b34b7bf65851eab3cd7cd
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}