shithub: drawterm

ref: 4631102321da63a1959ceccaa1b1091b09c112f1
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}