shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}