code: drawterm

ref: 5572ebf9ed54fa7d53480e8119bf10205dc5298b
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}