shithub: drawterm

ref: 74e47cdeb4f9b8d81766c24391bac05f87922115
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}