shithub: drawterm

ref: 51d6c97ce45cbc9edfe599918d0e964450a37b74
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}