shithub: drawterm

ref: 09d3c3c9d091e8749cd65e85689f99907d6ce7d5
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}