shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}