code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}