shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}