shithub: drawterm

ref: 4e34729a89f7c27142566b4b1fd5d51824c83929
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}