shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}