code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}