shithub: drawterm

ref: 662540aee7223766e4499778102b48ff77a5a4ec
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}