shithub: drawterm

ref: 934846f35caaf236b554c5253cabc1032af2a27a
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}