shithub: drawterm

ref: 41806113ac664e7c722bc18a6158e7837f577018
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}