code: drawterm

ref: 00c19a0e1f446f1ca083b2cba96b6cc37a7cde44
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}