code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}