shithub: drawterm

ref: 0f3766f44e554d73c7a3d8bab55cc32dc13f1c26
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}