code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}