shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}