code: drawterm

ref: 54f615f6c0090c7c0011f4121ecf54fcf1e07a6b
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}