shithub: drawterm

ref: 375b0049f0549cd584cae8b1f4ea2d5453fb907e
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}