code: drawterm

ref: 2f4516ba69e49b93de2f844c5e772112ff58a31e
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}