code: drawterm

ref: 63e826c1a177368305ce9e89c0b7bc3b13e158d5
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}