shithub: drawterm

ref: 23a48c7cfe2e38265eeaa1a8b8adfc57c887be76
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}