code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}