shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}