code: drawterm

ref: 261a80f05dcfb2bc8fa98093a293abfc67f24394
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}