shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}