shithub: drawterm

ref: 4fec34471f0587c0eaa62e0cc580b7bfc6457f61
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}