shithub: drawterm

ref: 68fe504f349dd77566041e69f6b2534ec57707e0
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}