code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}