shithub: drawterm

ref: 77b464a5d5648bb646467111b8faf719cd5c46b6
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}