code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}