shithub: drawterm

ref: 748142a97c32cd48a8df7e354b40d9638e27ae38
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}