code: drawterm

ref: 2edf616443b7bfdb0d97c4f9a11c45747ed9ab25
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}