shithub: drawterm

ref: 8a6541f79b4a08bcb76508849f8c659b08328ee4
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}