git: drawterm

ref: 8391a9e364622cb7d85e128b427fb96c75e18265
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}