code: drawterm

ref: 658bdec9e954fdfdfe7a9a72939dd62014d2edc1
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}