shithub: drawterm

ref: d1b585cfe24c6fd89865a1301ec933597c4de5e6
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}