shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}