shithub: drawterm

ref: 550a8ec5f943b87172668581e67128d4770c6e48
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}