shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}