shithub: drawterm

ref: 911c97608ef1bce09b8e62355344e301c9b250d4
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}