code: drawterm

ref: 9731b2c5e105e92d14a7899fddd7142f6f99fc3f
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}