shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}