code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}