shithub: drawterm

ref: 15e68cc285cf082696ab68faa16f4662f50306c1
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}