code: drawterm

ref: 1f83e0681d7b05dfdcc6b24c1b97add6750751d6
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}