code: drawterm

ref: f6c5c276b6938f83cadafb7e1887027ddc722eb1
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}