code: drawterm

ref: 9110fed39de2e8cccf517f49089a1b6f64d346c3
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}