code: drawterm

ref: 6fb85848001386a1acf2bc47605b797ce21c48a7
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}