shithub: drawterm

ref: 17efd16d0f0c57bab790b423c4ca0e01d525f755
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}