code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}