shithub: drawterm

ref: 276098f816a9188c711f51ace9a92df54997b791
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}