shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}