code: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}