code: drawterm

ref: 65a922cca9e0ef86082b19a67171b12d6736d419
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}