code: drawterm

ref: 298b974eacaa5d338401e7f06593ab72f518a30c
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}