shithub: drawterm

ref: 4ed08f439ac547b7e1b2864efda66c297348cce9
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}