shithub: drawterm

ref: 1125f094ce2a6854ef568b8c62602ce07c6a2935
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}