code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}