shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}