shithub: drawterm

ref: 525ffef137e7ce97e8e149f55488a9f5327b55c8
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}