code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}