shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}