code: drawterm

ref: 333472c8c87c11eefb62cb1d5eab4472e5a8d2a9
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}