code: drawterm

ref: 176099bb8164a5b9f7bb7d98db480e08d0b5c5e2
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}