git: drawterm

ref: 8a88fb5b8c75450d2e20ae1c7839d823bb1f6fad
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}