code: drawterm

ref: 9383debbbe85a800aa0c0e5bd49e764f10228b47
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}