code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}