code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}