shithub: drawterm

ref: 7d6b0ad1265ef7e7418cc4adc54fe470259a0e33
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}