shithub: drawterm

ref: 082f1a3a980c79b96009f413b72f65b791cc2352
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}