shithub: drawterm

ref: 05702a2942dc74613683a1d338c90f29b58c9c7e
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}