shithub: drawterm

ref: 12ce9a3cf548a8a6ef57e42b2363ef5dcbb49c78
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}