shithub: drawterm

ref: 880c99727c9536f964faba5bbfb0d25d6029dffe
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}