shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}