shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}