shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}