code: drawterm

ref: ebb16275cc0193d2caa3985f3914c08bc0e24e5f
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}