shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}