shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}