shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}