shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}