code: drawterm

ref: ea04c68f2bd28d6c75d21688a07ac6b817192b67
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}