code: drawterm

ref: 1baf2ac12262f875e17a1c4d6786c55cbe6d99a4
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}