code: drawterm

ref: 1c709767b27d295d7df975a3e441191a4c8fcba1
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}