shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}