shithub: drawterm

ref: 64c6eaaaef193ef730f16c6217a6d3e6b8fdb719
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}