code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}