code: drawterm

ref: 083b5a0e40e7eb56469ac1705ae437f4353d15ee
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}