shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}