shithub: drawterm

ref: 181023b05de82ca87676e5a2e34d630defedc99e
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}