shithub: drawterm

ref: 46877c21313943940e821259e8b3b8f6b3d897aa
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}