git: drawterm

ref: 9105c90fb16697a333ce1ca83a0b3d615fcb7a10
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}