shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}