shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}