code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}