code: drawterm

ref: 07eda1b895f1fd4f4cea3f56deb76e16b0e02c3d
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}