shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}