shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}