code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}