shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}