shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}