code: drawterm

ref: 164f93080280163b66fda88ddf15dbd6e74b9443
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}