shithub: drawterm

ref: 43b112897a64086ff0cf834c8dbe8281229a402c
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}