code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}