code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}