shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}