shithub: drawterm

ref: 35ab5a74c2a8a7e197f35b833694aa28d12bade7
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}