code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}