shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}