shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}