code: drawterm

ref: 162ce8d8bbdef0f34ac7f579065f1ea8409218b5
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}