code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}