code: drawterm

ref: 632d598b923dd783c03e2ad3f0ed510588f9df11
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}