code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}