shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}