code: drawterm

ref: 94ba334d6dafc14c695e986afb33685e4e74d6eb
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}