code: drawterm

ref: 3c6be4750088503e4387a3b3b4910354c89913ed
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}