shithub: drawterm

ref: 836f7f458e83e630f8554032cc7731c62edde5dd
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}