code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}