code: drawterm

ref: 06d141d7fcdff9894cc1f1b160b98d1d93857901
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}