shithub: drawterm

ref: 31aac06d204f233a9452de880a1911d3dd1984bb
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}