shithub: drawterm

ref: 6b448b9bd61307ef3bd3ed69270c8a02100ff40d
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}