code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}