shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}