code: drawterm

ref: 19f4185f3967a5c00053236015da22c0da2af41d
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}