code: drawterm

ref: 9ca0eeaaed1dd8a9ced7e13a560d12fd9e7ac494
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}