shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}