code: drawterm

ref: 22aa6e041ce5d1b9734cabf95e78aad74930cdbc
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}