code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}