code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}