shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}