code: drawterm

ref: 7f51f90cb36b248269cea2f6ac8f3da918fa834f
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}