shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}