code: drawterm

ref: 4983641c3ef57d10a9433a18ecff2116eae09375
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}