shithub: drawterm

ref: 9e58d45fe72b32635abe2770324f51791d9e5b36
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}