shithub: drawterm

ref: 3084c76351b83338becd8a36d691ce076ea31c89
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}