shithub: drawterm

ref: 4b2ebe94a265ad7b89cbc9dcc082773451f37a88
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}