shithub: drawterm

ref: b86ca0bf8a11e9f03aa0a6af915285ef2bf80bd3
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}