code: drawterm

ref: 0a8a66a42a7aa9d1dabcc3956a48bfa5436ecbb9
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}